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.0007338/0.0007338, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007486/0.0007486, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8279/0.8279, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.007355/0.007355, allocations: 1.976 MB / 261.9 MB, free: 11.28 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.232e-06/1.232e-06, allocations: 0 / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.957e-05, allocations: 4.812 kB / 385.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1378/0.1378, allocations: 45.15 MB / 431.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.1491, allocations: 25.15 MB / 456.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1493, allocations: 2.812 kB / 456.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.1501, allocations: 0.5155 MB / 456.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.1531, allocations: 2.255 MB / 459 MB, free: 10.4 MB / 346.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.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.1574, allocations: 2.998 MB / 462 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.158, allocations: 0.9815 MB / 463 MB, free: 7.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.158, allocations: 23.78 kB / 463 MB, free: 7.352 MB / 346.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.6045/0.7625, allocations: 51.48 MB / 0.5024 GB, free: 5.711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.7631, allocations: 243.3 kB / 0.5027 GB, free: 5.473 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.7631, allocations: 40 kB / 0.5027 GB, free: 5.434 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07238/0.8355, allocations: 27.06 MB / 0.5291 GB, free: 10.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.8357, allocations: 111.5 kB / 0.5292 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.836, allocations: 227.5 kB / 0.5294 GB, free: 9.867 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.8388, allocations: 1.909 MB / 0.5313 GB, free: 7.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8388, allocations: 0 / 0.5313 GB, free: 7.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8388, allocations: 0 / 0.5313 GB, free: 7.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.8389, allocations: 0 / 0.5313 GB, free: 7.953 MB / 426.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.0009457/0.8398, allocations: 1.037 MB / 0.5323 GB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8398, allocations: 12.03 kB / 0.5323 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.8409, allocations: 0.4961 MB / 0.5328 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.8412, allocations: 284.9 kB / 0.5331 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.8412, allocations: 45.69 kB / 0.5331 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.8413, allocations: 56.38 kB / 0.5332 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.8422, allocations: 0.9816 MB / 0.5341 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8422, allocations: 4 kB / 0.5341 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.8423, allocations: 31.94 kB / 0.5342 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.8423, allocations: 27.98 kB / 0.5342 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.843, allocations: 0.7123 MB / 0.5349 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.8448, allocations: 2.621 MB / 0.5375 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.8452, allocations: 281 kB / 0.5377 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.8453, allocations: 166.3 kB / 0.5379 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/0.846, allocations: 0.8871 MB / 0.5387 GB, free: 68 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.846, allocations: 38.56 kB / 0.5388 GB, free: 20 kB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 1.844e-06/0.846, allocations: 0 / 0.5388 GB, free: 20 kB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.001036/0.847, allocations: 0.6196 MB / 0.5394 GB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.8471, allocations: 81.3 kB / 0.5395 GB, free: 15.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.8472, allocations: 191.3 kB / 0.5397 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.8472, allocations: 33.64 kB / 0.5397 GB, free: 15.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.868e-05/0.8473, allocations: 280.6 kB / 0.5399 GB, free: 14.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.8474, allocations: 249.7 kB / 0.5402 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.8475, allocations: 93.97 kB / 0.5403 GB, free: 14.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.8475, allocations: 354.7 kB / 0.5406 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8477, allocations: 117.3 kB / 0.5407 GB, free: 13.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.8479, allocations: 289.3 kB / 0.541 GB, free: 13.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.8483, allocations: 485.5 kB / 0.5415 GB, free: 13.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8483, allocations: 0 / 0.5415 GB, free: 13.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004743/0.8488, allocations: 472.2 kB / 0.5419 GB, free: 12.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.8488, allocations: 11.98 kB / 0.5419 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8488, allocations: 4 kB / 0.5419 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.8488, allocations: 8.625 kB / 0.5419 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.8489, allocations: 75.84 kB / 0.542 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.849, allocations: 8 kB / 0.542 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.8491, allocations: 67.38 kB / 0.5421 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.8491, allocations: 20 kB / 0.5421 GB, free: 12.41 MB / 442.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.0001378/0.8492, allocations: 193.9 kB / 0.5423 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.8493, allocations: 27.81 kB / 0.5423 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.8493, allocations: 29.95 kB / 0.5423 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8493, allocations: 4 kB / 0.5423 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8493, allocations: 0 / 0.5423 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8493, allocations: 7.938 kB / 0.5424 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.8496, allocations: 352.2 kB / 0.5427 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8496, allocations: 0 / 0.5427 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.8497, allocations: 31.98 kB / 0.5427 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8497, allocations: 0 / 0.5427 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.8497, allocations: 8 kB / 0.5427 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8497, allocations: 7.938 kB / 0.5427 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8497, allocations: 0 / 0.5427 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.8501, allocations: 0.5293 MB / 0.5433 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.8501, allocations: 43.58 kB / 0.5433 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8501, allocations: 4 kB / 0.5433 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8503, allocations: 11.98 kB / 0.5433 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.8503, allocations: 27.95 kB / 0.5433 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8503, allocations: 8 kB / 0.5433 GB, free: 11.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.8504, allocations: 127.1 kB / 0.5435 GB, free: 10.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8504, allocations: 0 / 0.5435 GB, free: 10.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.8507, allocations: 195.5 kB / 0.5437 GB, free: 10.77 MB / 442.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.0003604/0.8511, allocations: 312.8 kB / 0.544 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.8516, allocations: 0.5725 MB / 0.5445 GB, free: 9.855 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8516, allocations: 0 / 0.5445 GB, free: 9.855 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.8519, allocations: 456.6 kB / 0.5449 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.8525, allocations: 195.3 kB / 0.5451 GB, free: 9.148 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.8536, allocations: 1.089 MB / 0.5462 GB, free: 8.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.8538, allocations: 357.7 kB / 0.5465 GB, free: 7.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.8539, allocations: 52.5 kB / 0.5466 GB, free: 7.59 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8539, allocations: 0 / 0.5466 GB, free: 7.59 MB / 442.7 MB Notification: Performance of Templates: time 0.007282/0.8612, allocations: 9.443 MB / 0.5558 GB, free: 14.17 MB / 458.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.441445801407099] Failed to read output from testmodel.py, exit status != 0: 0.8662654394283891 0.874270825 0.033745711000000005 Calling exit ...