Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 216.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01311/0.01311, allocations: 2.806 MB / 316 MB, free: 132 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 439.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.123, allocations: 54.19 MB / 494.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.3458/0.4688, allocations: 45.37 MB / 0.5268 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03198/0.5008, allocations: 25.15 MB / 0.5514 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.5015, allocations: 0 / 0.5514 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.5035, allocations: 0.4981 MB / 0.5519 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00805/0.5116, allocations: 2.188 MB / 0.554 GB, free: 10.75 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.523, allocations: 2.89 MB / 0.5568 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.5246, allocations: 0.935 MB / 0.5577 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.5248, allocations: 23.47 kB / 0.5578 GB, free: 7.852 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.7493/1.274, allocations: 52 MB / 0.6085 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007778/1.275, allocations: 286.6 kB / 0.6088 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.275, allocations: 40 kB / 0.6088 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2334/1.508, allocations: 27.39 MB / 0.6356 GB, free: 9.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003532/1.509, allocations: 111.5 kB / 0.6357 GB, free: 9.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008401/1.51, allocations: 274.8 kB / 0.636 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009447/1.519, allocations: 1.866 MB / 0.6378 GB, free: 7.238 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.519, allocations: 0 / 0.6378 GB, free: 7.238 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/1.519, allocations: 0 / 0.6378 GB, free: 7.238 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.263e-05/1.519, allocations: 0 / 0.6378 GB, free: 7.238 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002467/1.522, allocations: 1.045 MB / 0.6388 GB, free: 6.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.522, allocations: 12.03 kB / 0.6388 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/1.524, allocations: 0.5 MB / 0.6393 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/1.529, allocations: 273.7 kB / 0.6396 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/1.529, allocations: 46.06 kB / 0.6396 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/1.53, allocations: 52 kB / 0.6397 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.531, allocations: 0.9847 MB / 0.6406 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.532, allocations: 3.938 kB / 0.6406 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/1.532, allocations: 32 kB / 0.6407 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/1.532, allocations: 31.98 kB / 0.6407 GB, free: 4.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.533, allocations: 0.7123 MB / 0.6414 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/1.537, allocations: 2.64 MB / 0.644 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/1.538, allocations: 273.1 kB / 0.6442 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/1.538, allocations: 169.5 kB / 0.6444 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.539, allocations: 0.8846 MB / 0.6452 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.539, allocations: 38.5 kB / 0.6453 GB, free: 15.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.254e-06/1.539, allocations: 4 kB / 0.6453 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001856/1.541, allocations: 0.6242 MB / 0.6459 GB, free: 14.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.541, allocations: 77.11 kB / 0.646 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/1.542, allocations: 186 kB / 0.6461 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/1.542, allocations: 29.7 kB / 0.6462 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/1.542, allocations: 280.5 kB / 0.6464 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.542, allocations: 249.8 kB / 0.6467 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.542, allocations: 93.95 kB / 0.6468 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/1.542, allocations: 346.8 kB / 0.6471 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/1.543, allocations: 125.3 kB / 0.6472 GB, free: 13.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/1.543, allocations: 289.3 kB / 0.6475 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/1.544, allocations: 481.5 kB / 0.648 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.544, allocations: 0 / 0.648 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000971/1.545, allocations: 472.2 kB / 0.6484 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.545, allocations: 8 kB / 0.6484 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.545, allocations: 4 kB / 0.6484 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/1.545, allocations: 16.55 kB / 0.6484 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/1.545, allocations: 79.78 kB / 0.6485 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/1.545, allocations: 8 kB / 0.6485 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/1.546, allocations: 59.5 kB / 0.6486 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/1.546, allocations: 20 kB / 0.6486 GB, free: 11.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003946/1.546, allocations: 197.6 kB / 0.6488 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.547, allocations: 27.81 kB / 0.6488 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.547, allocations: 29.95 kB / 0.6488 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.547, allocations: 7.938 kB / 0.6488 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.547, allocations: 0 / 0.6488 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/1.547, allocations: 0 / 0.6488 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009199/1.548, allocations: 348.7 kB / 0.6492 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.548, allocations: 0 / 0.6492 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.548, allocations: 36.3 kB / 0.6492 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/1.548, allocations: 4 kB / 0.6492 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.548, allocations: 8 kB / 0.6492 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.548, allocations: 0 / 0.6492 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.548, allocations: 7.875 kB / 0.6492 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.549, allocations: 0.5294 MB / 0.6497 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.549, allocations: 39.64 kB / 0.6498 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/1.549, allocations: 4 kB / 0.6498 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/1.55, allocations: 7.984 kB / 0.6498 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.55, allocations: 27.84 kB / 0.6498 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/1.55, allocations: 19.92 kB / 0.6498 GB, free: 10.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001565/1.55, allocations: 124.1 kB / 0.65 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.55, allocations: 0 / 0.65 GB, free: 10.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00125/1.551, allocations: 191.5 kB / 0.6501 GB, free: 10.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009722/1.552, allocations: 304.7 kB / 0.6504 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/1.554, allocations: 0.5759 MB / 0.651 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.554, allocations: 0 / 0.651 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009148/1.555, allocations: 472.1 kB / 0.6514 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.556, allocations: 203.7 kB / 0.6516 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/1.561, allocations: 1.124 MB / 0.6527 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.561, allocations: 357.7 kB / 0.6531 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.562, allocations: 55.44 kB / 0.6531 GB, free: 6.816 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.562, allocations: 0 / 0.6531 GB, free: 6.816 MB / 494.1 MB Notification: Performance of Templates: time 0.02562/1.587, allocations: 9.452 MB / 0.6624 GB, free: 13.37 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.975031577050686] Failed to read output from testmodel.py, exit status != 0: 1.5968762799166143 1.623524306 0.09937554300000001 Calling exit ...