Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001015/0.001015, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001951/0.001951, allocations: 165 kB / 23.01 MB, free: 1.551 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008004/0.008004, allocations: 1.996 MB / 261.9 MB, free: 11.05 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 332.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.25e-05, allocations: 6.25 kB / 332.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.007323/0.007346, allocations: 11.95 MB / 344.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.01463, allocations: 12.17 MB / 356.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.01492, allocations: 4 kB / 356.5 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.01556, allocations: 218.4 kB / 356.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.01836, allocations: 1.253 MB / 357.9 MB, free: 7.223 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.02108, allocations: 1.161 MB / 359.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.02208, allocations: 0.9749 MB / 360.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.02217, allocations: 29.91 kB / 360.1 MB, free: 5.043 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.5546/0.5767, allocations: 21.76 MB / 381.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.5771, allocations: 243.3 kB / 382.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.5772, allocations: 40 kB / 382.1 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.5789, allocations: 0.6909 MB / 382.8 MB, free: 396 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.579, allocations: 115.5 kB / 382.9 MB, free: 280 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.5793, allocations: 227.5 kB / 383.2 MB, free: 52 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.5808, allocations: 0.9345 MB / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5808, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5808, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.5808, allocations: 0 / 384.1 MB, free: 15.11 MB / 314.7 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.0009843/0.5818, allocations: 0.998 MB / 385.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5818, allocations: 8.031 kB / 385.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5832, allocations: 1.03 MB / 386.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.5835, allocations: 275.8 kB / 386.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.5836, allocations: 45.69 kB / 386.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.5836, allocations: 52.38 kB / 386.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.5844, allocations: 0.7781 MB / 387.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5844, allocations: 0 / 387.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.5845, allocations: 28 kB / 387.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.5845, allocations: 27.98 kB / 387.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.585, allocations: 352.8 kB / 387.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.587, allocations: 3.197 MB / 390.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.5873, allocations: 245.9 kB / 391.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.5875, allocations: 107.3 kB / 391.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.5881, allocations: 0.9273 MB / 392.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5881, allocations: 45.33 kB / 392.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.044e-06/0.5881, allocations: 0 / 392.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.0008114/0.589, allocations: 0.5452 MB / 392.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.589, allocations: 77.11 kB / 392.8 MB, free: 6.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5891, allocations: 237.7 kB / 393 MB, free: 5.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5891, allocations: 25.7 kB / 393.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5893, allocations: 331.3 kB / 393.4 MB, free: 5.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5894, allocations: 253.6 kB / 393.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.5895, allocations: 107.6 kB / 393.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5896, allocations: 0.5156 MB / 394.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.5897, allocations: 65.3 kB / 394.3 MB, free: 4.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5899, allocations: 299.6 kB / 394.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.5902, allocations: 416 kB / 395 MB, free: 3.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5902, allocations: 0 / 395 MB, free: 3.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004054/0.5906, allocations: 416.2 kB / 395.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5906, allocations: 11.91 kB / 395.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5906, allocations: 4 kB / 395.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5906, allocations: 8 kB / 395.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.5908, allocations: 68.47 kB / 395.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5908, allocations: 11.94 kB / 395.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5909, allocations: 63.56 kB / 395.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5909, allocations: 16 kB / 395.6 MB, free: 3.004 MB / 314.7 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.0001194/0.591, allocations: 184.4 kB / 395.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.5911, allocations: 35.81 kB / 395.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.5911, allocations: 29.97 kB / 395.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5911, allocations: 0 / 395.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.5911, allocations: 7.922 kB / 395.9 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5911, allocations: 4 kB / 395.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.5915, allocations: 371.6 kB / 396.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5915, allocations: 7.984 kB / 396.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.5915, allocations: 27.98 kB / 396.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5915, allocations: 0 / 396.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5915, allocations: 8 kB / 396.3 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5915, allocations: 4 kB / 396.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5915, allocations: 3.938 kB / 396.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.5919, allocations: 0.5573 MB / 396.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.5919, allocations: 43.62 kB / 396.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.592, allocations: 4 kB / 396.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.5921, allocations: 11.98 kB / 396.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.5921, allocations: 31.89 kB / 396.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5921, allocations: 8 kB / 396.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.5922, allocations: 156 kB / 397.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5922, allocations: 0 / 397.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000364/0.5925, allocations: 183.5 kB / 397.3 MB, free: 1.277 MB / 314.7 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.0003/0.5928, allocations: 175.4 kB / 397.4 MB, free: 1.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.5933, allocations: 0.4946 MB / 397.9 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5933, allocations: 1.25 kB / 397.9 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.5935, allocations: 449.4 kB / 398.4 MB, free: 64 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.5941, allocations: 196.8 kB / 398.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.5953, allocations: 1.005 MB / 399.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.5954, allocations: 164.8 kB / 399.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.5957, allocations: 217.8 kB / 399.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.5958, allocations: 48.5 kB / 400 MB, free: 14.38 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5958, allocations: 0 / 400 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Templates: time 0.01078/0.6066, allocations: 9.062 MB / 409.1 MB, free: 5.305 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.090826543979347]