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.001366/0.001366, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001505/0.001505, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.435/1.435, allocations: 230.6 MB / 256 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.01235/0.01235, allocations: 2.814 MB / 315.2 MB, free: 228 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [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.002152/0.002152, allocations: 71.89 kB / 438.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.1003, allocations: 54.17 MB / 492.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2497/0.3499, allocations: 45.38 MB / 0.5256 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.3768, allocations: 25.15 MB / 0.5502 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.3776, allocations: 2.844 kB / 0.5502 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.3793, allocations: 0.4961 MB / 0.5506 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.386, allocations: 2.181 MB / 0.5528 GB, free: 10.9 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.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.0.0/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.00871/0.3947, allocations: 2.892 MB / 0.5556 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.396, allocations: 0.941 MB / 0.5565 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.3961, allocations: 24 kB / 0.5565 GB, free: 7.996 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.45/0.8462, allocations: 51.34 MB / 0.6067 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.8469, allocations: 298.5 kB / 0.607 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.847, allocations: 40 kB / 0.607 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2248/1.072, allocations: 27.06 MB / 0.6334 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/1.072, allocations: 115.5 kB / 0.6335 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006947/1.073, allocations: 270.8 kB / 0.6338 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007795/1.081, allocations: 1.858 MB / 0.6356 GB, free: 8.594 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.081, allocations: 0 / 0.6356 GB, free: 8.594 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.345e-06/1.081, allocations: 0 / 0.6356 GB, free: 8.594 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/1.081, allocations: 4 kB / 0.6356 GB, free: 8.59 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.002078/1.083, allocations: 1.041 MB / 0.6366 GB, free: 7.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.083, allocations: 16.03 kB / 0.6366 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/1.083, allocations: 119 kB / 0.6367 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/1.085, allocations: 0.5 MB / 0.6372 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/1.088, allocations: 281.6 kB / 0.6375 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/1.088, allocations: 45.88 kB / 0.6375 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.088, allocations: 59.94 kB / 0.6376 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/1.09, allocations: 0.9848 MB / 0.6386 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.09, allocations: 0 / 0.6386 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/1.09, allocations: 28 kB / 0.6386 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/1.09, allocations: 27.98 kB / 0.6386 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.092, allocations: 0.7123 MB / 0.6393 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/1.095, allocations: 2.729 MB / 0.642 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008005/1.096, allocations: 285.1 kB / 0.6423 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/1.096, allocations: 157.4 kB / 0.6424 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.098, allocations: 0.8769 MB / 0.6433 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/1.098, allocations: 42.56 kB / 0.6433 GB, free: 428 kB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.454e-06/1.098, allocations: 3.938 kB / 0.6433 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.002364/1.1, allocations: 0.6358 MB / 0.6439 GB, free: 15.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.1, allocations: 85.09 kB / 0.644 GB, free: 15.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/1.1, allocations: 170.1 kB / 0.6442 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/1.1, allocations: 29.7 kB / 0.6442 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.1, allocations: 284.5 kB / 0.6445 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/1.101, allocations: 257.7 kB / 0.6447 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.101, allocations: 102 kB / 0.6448 GB, free: 14.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/1.101, allocations: 334.8 kB / 0.6451 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/1.101, allocations: 125.3 kB / 0.6452 GB, free: 14.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/1.102, allocations: 293.3 kB / 0.6455 GB, free: 14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/1.102, allocations: 473.5 kB / 0.646 GB, free: 13.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.102, allocations: 4 kB / 0.646 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000991/1.103, allocations: 476.2 kB / 0.6464 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.103, allocations: 7.938 kB / 0.6464 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.103, allocations: 8.625 kB / 0.6465 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.104, allocations: 4 kB / 0.6465 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/1.104, allocations: 79.84 kB / 0.6465 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.104, allocations: 4 kB / 0.6465 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/1.104, allocations: 71.44 kB / 0.6466 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/1.104, allocations: 16 kB / 0.6466 GB, free: 12.81 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.0002971/1.104, allocations: 185.7 kB / 0.6468 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.105, allocations: 31.75 kB / 0.6468 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/1.105, allocations: 33.95 kB / 0.6469 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.105, allocations: 0 / 0.6469 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.105, allocations: 8.375 kB / 0.6469 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.105, allocations: 0 / 0.6469 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/1.105, allocations: 432.1 kB / 0.6473 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.105, allocations: 0 / 0.6473 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/1.106, allocations: 39.91 kB / 0.6473 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.106, allocations: 7.938 kB / 0.6473 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.106, allocations: 11.94 kB / 0.6473 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.106, allocations: 0 / 0.6473 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.106, allocations: 0 / 0.6473 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/1.106, allocations: 0.5255 MB / 0.6479 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/1.107, allocations: 47.56 kB / 0.6479 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.107, allocations: 8 kB / 0.6479 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.107, allocations: 4 kB / 0.6479 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/1.107, allocations: 23.95 kB / 0.6479 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.107, allocations: 15.94 kB / 0.6479 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001196/1.107, allocations: 124.1 kB / 0.6481 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 0 / 0.6481 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000741/1.108, allocations: 199.4 kB / 0.6483 GB, free: 11.06 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.001775/1.11, allocations: 1.275 MB / 0.6495 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/1.111, allocations: 0.5643 MB / 0.6501 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.111, allocations: 4 kB / 0.6501 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/1.111, allocations: 464.7 kB / 0.6505 GB, free: 8.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.112, allocations: 195.3 kB / 0.6507 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/1.118, allocations: 3.638 MB / 0.6542 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/1.119, allocations: 353.7 kB / 0.6546 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/1.119, allocations: 265.8 kB / 0.6548 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.12, allocations: 275.3 kB / 0.6551 GB, free: 3.695 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/1.12, allocations: 0 / 0.6551 GB, free: 3.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/1.174, allocations: 19.53 MB / 0.6742 GB, free: 232 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.82, allocations: 10.69 kB / 0.6742 GB, free: 224 kB / 0.4981 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.98468618374318] Failed to read output from testmodel.py, exit status != 0: 13.161410244647413 13.178262683 12.094253508 Calling exit ...