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.0008545/0.0008545, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009964/0.0009964, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9205/0.9205, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.00746/0.00746, allocations: 2 MB / 262.3 MB, free: 10.95 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.994e-06/1.994e-06, allocations: 0 / 279.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.825e-05, allocations: 2.312 kB / 279.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1094/0.1095, allocations: 11.86 MB / 291.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.1165, allocations: 12.16 MB / 303.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1167, allocations: 2.438 kB / 303.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.1172, allocations: 218.1 kB / 303.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1193, allocations: 1.261 MB / 305.1 MB, free: 12.89 MB / 266.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.00187/0.1212, allocations: 1.176 MB / 306.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006985/0.1219, allocations: 0.9728 MB / 307.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.122, allocations: 32.38 kB / 307.2 MB, free: 11.62 MB / 266.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.5047/0.6266, allocations: 21.85 MB / 329.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.6271, allocations: 239.3 kB / 329.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.6271, allocations: 44 kB / 329.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.629, allocations: 0.6871 MB / 330.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.6291, allocations: 111.5 kB / 330.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.6293, allocations: 227.5 kB / 330.4 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.6305, allocations: 0.9384 MB / 331.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6305, allocations: 0 / 331.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6305, allocations: 0 / 331.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.6305, allocations: 0 / 331.3 MB, free: 8.738 MB / 282.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.0007888/0.6313, allocations: 0.8546 MB / 332.2 MB, free: 7.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6314, allocations: 16.02 kB / 332.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.6327, allocations: 1.05 MB / 333.2 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.633, allocations: 212.9 kB / 333.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.633, allocations: 45.69 kB / 333.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.633, allocations: 56.38 kB / 333.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.6337, allocations: 0.696 MB / 334.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6337, allocations: 7.938 kB / 334.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.6337, allocations: 27.94 kB / 334.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.6337, allocations: 35.97 kB / 334.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.634, allocations: 288.5 kB / 334.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.6357, allocations: 2.242 MB / 336.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.6361, allocations: 185 kB / 337 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.6361, allocations: 73.7 kB / 337.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.6368, allocations: 0.6724 MB / 337.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6368, allocations: 38.5 kB / 337.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 3.396e-06/0.6368, allocations: 0 / 337.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006656/0.6375, allocations: 451.2 kB / 338.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.6375, allocations: 89.03 kB / 338.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6376, allocations: 174.4 kB / 338.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6376, allocations: 33.7 kB / 338.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6377, allocations: 284.5 kB / 338.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.6378, allocations: 249.7 kB / 339.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.6379, allocations: 89.91 kB / 339.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.638, allocations: 350.7 kB / 339.5 MB, free: 260 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.6381, allocations: 41.31 kB / 339.5 MB, free: 220 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.6382, allocations: 213.4 kB / 339.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.6384, allocations: 317.5 kB / 340 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.6384, allocations: 4 kB / 340 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006872/0.6391, allocations: 312.4 kB / 340.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6391, allocations: 7.906 kB / 340.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6391, allocations: 8 kB / 340.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6391, allocations: 4 kB / 340.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.6394, allocations: 67.84 kB / 340.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6394, allocations: 8.562 kB / 340.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.6396, allocations: 67.45 kB / 340.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6396, allocations: 15.97 kB / 340.5 MB, free: 15.07 MB / 298.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,medium1.baseProperties.phaseInput,medium2.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.0001492/0.6397, allocations: 144.4 kB / 340.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.6398, allocations: 19.98 kB / 340.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.6398, allocations: 29.95 kB / 340.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6398, allocations: 0 / 340.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6398, allocations: 0 / 340.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6398, allocations: 4 kB / 340.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.6401, allocations: 241.3 kB / 341 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6401, allocations: 0 / 341 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.6402, allocations: 35.92 kB / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6402, allocations: 0 / 341 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6402, allocations: 8 kB / 341 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6402, allocations: 0 / 341 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6402, allocations: 0 / 341 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.6405, allocations: 395.5 kB / 341.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.6405, allocations: 39.64 kB / 341.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.6405, allocations: 11.98 kB / 341.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.6407, allocations: 11.94 kB / 341.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6407, allocations: 19.95 kB / 341.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.6408, allocations: 8 kB / 341.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.6408, allocations: 41.69 kB / 341.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6408, allocations: 0 / 341.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.6414, allocations: 183.5 kB / 341.7 MB, free: 13.85 MB / 298.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.0004119/0.6418, allocations: 176.3 kB / 341.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.6422, allocations: 452.6 kB / 342.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.6423, allocations: 8 kB / 342.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.6426, allocations: 426.5 kB / 342.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.6434, allocations: 201.6 kB / 342.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.645, allocations: 1.007 MB / 343.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.6452, allocations: 168.7 kB / 344.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004402/0.6456, allocations: 205.9 kB / 344.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.646, allocations: 217.2 kB / 344.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.646, allocations: 0 / 344.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Templates: time 0.01833/0.6643, allocations: 10.54 MB / 355.1 MB, free: 340 kB / 298.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: 4.418802825734019]