Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.01255/0.01255, allocations: 2.796 MB / 305.5 MB, free: 6.988 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 425 MB, free: 22.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09349, allocations: 52.95 MB / 478 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.3063/0.3998, allocations: 50.94 MB / 0.5165 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.4206, allocations: 29.16 MB / 0.545 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.4211, allocations: 3.406 kB / 0.545 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4227, allocations: 0.6156 MB / 0.5456 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.4289, allocations: 2.254 MB / 0.5478 GB, free: 1.125 MB / 382.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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008945/0.4379, allocations: 2.921 MB / 0.5506 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.4393, allocations: 0.9342 MB / 0.5516 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4394, allocations: 24.38 kB / 0.5516 GB, free: 15.25 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.4414/0.8808, allocations: 51.27 MB / 0.6017 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.8818, allocations: 310.5 kB / 0.6019 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.8819, allocations: 36 kB / 0.602 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2206/1.102, allocations: 27.04 MB / 0.6284 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/1.103, allocations: 115.5 kB / 0.6285 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000639/1.103, allocations: 338.4 kB / 0.6288 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009199/1.113, allocations: 1.854 MB / 0.6306 GB, free: 8.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.113, allocations: 4 kB / 0.6306 GB, free: 8.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.724e-06/1.113, allocations: 0 / 0.6306 GB, free: 8.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/1.113, allocations: 4 kB / 0.6306 GB, free: 8.266 MB / 462.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.001725/1.114, allocations: 1.131 MB / 0.6317 GB, free: 7.086 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.114, allocations: 8.031 kB / 0.6318 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.114, allocations: 115 kB / 0.6319 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.117, allocations: 0.5039 MB / 0.6324 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.119, allocations: 335.5 kB / 0.6327 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/1.119, allocations: 45.88 kB / 0.6327 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/1.119, allocations: 55.94 kB / 0.6328 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.121, allocations: 0.8762 MB / 0.6336 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.121, allocations: 0 / 0.6336 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/1.121, allocations: 28 kB / 0.6337 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/1.121, allocations: 31.98 kB / 0.6337 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/1.122, allocations: 0.7039 MB / 0.6344 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/1.127, allocations: 5.008 MB / 0.6393 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/1.127, allocations: 269.1 kB / 0.6395 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/1.128, allocations: 161.5 kB / 0.6397 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/1.129, allocations: 1.533 MB / 0.6412 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/1.129, allocations: 38.5 kB / 0.6412 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.893e-06/1.129, allocations: 0 / 0.6412 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001532/1.131, allocations: 0.5971 MB / 0.6418 GB, free: 11.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.131, allocations: 81.11 kB / 0.6419 GB, free: 11.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/1.131, allocations: 182.7 kB / 0.642 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.131, allocations: 33.7 kB / 0.6421 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.131, allocations: 292.4 kB / 0.6424 GB, free: 11.28 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.131, allocations: 245.8 kB / 0.6426 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.132, allocations: 97.97 kB / 0.6427 GB, free: 10.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/1.132, allocations: 342.8 kB / 0.643 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.132, allocations: 113.3 kB / 0.6431 GB, free: 10.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/1.132, allocations: 308.8 kB / 0.6434 GB, free: 10.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/1.133, allocations: 480.7 kB / 0.6439 GB, free: 9.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.133, allocations: 0 / 0.6439 GB, free: 9.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000798/1.134, allocations: 492.7 kB / 0.6443 GB, free: 9.066 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.134, allocations: 7.938 kB / 0.6443 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.134, allocations: 8 kB / 0.6444 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.134, allocations: 8 kB / 0.6444 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/1.134, allocations: 67.91 kB / 0.6444 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.134, allocations: 11.94 kB / 0.6444 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.134, allocations: 67.5 kB / 0.6445 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.134, allocations: 16 kB / 0.6445 GB, free: 8.883 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.0002456/1.135, allocations: 197.8 kB / 0.6447 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/1.135, allocations: 31.7 kB / 0.6447 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/1.135, allocations: 34.64 kB / 0.6448 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.135, allocations: 0 / 0.6448 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.135, allocations: 8 kB / 0.6448 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.135, allocations: 0 / 0.6448 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/1.135, allocations: 493 kB / 0.6452 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.135, allocations: 0 / 0.6452 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/1.136, allocations: 23.98 kB / 0.6453 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.136, allocations: 3.938 kB / 0.6453 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/1.136, allocations: 12 kB / 0.6453 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.136, allocations: 0 / 0.6453 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.136, allocations: 11.92 kB / 0.6453 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/1.136, allocations: 0.5022 MB / 0.6458 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/1.136, allocations: 112.8 kB / 0.6459 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/1.137, allocations: 11.94 kB / 0.6459 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.137, allocations: 11.98 kB / 0.6459 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/1.137, allocations: 16.17 kB / 0.6459 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/1.137, allocations: 4 kB / 0.6459 GB, free: 7.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001034/1.137, allocations: 124.2 kB / 0.6461 GB, free: 7.219 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.137, allocations: 0 / 0.6461 GB, free: 7.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007267/1.138, allocations: 199.5 kB / 0.6462 GB, free: 7.023 MB / 478.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.001498/1.139, allocations: 1.244 MB / 0.6475 GB, free: 5.746 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/1.14, allocations: 0.5527 MB / 0.648 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.14, allocations: 0 / 0.648 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/1.14, allocations: 455.9 kB / 0.6484 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.142, allocations: 196.5 kB / 0.6486 GB, free: 4.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/1.146, allocations: 3.634 MB / 0.6522 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/1.147, allocations: 0.9426 MB / 0.6531 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005667/1.148, allocations: 257.8 kB / 0.6533 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.148, allocations: 271.3 kB / 0.6536 GB, free: 15.1 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/1.148, allocations: 0 / 0.6536 GB, free: 15.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/1.195, allocations: 18.06 MB / 0.6712 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.583/10.78, allocations: 7.969 kB / 0.6712 GB, free: 13.04 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.635722130071372] Failed to read output from testmodel.py, exit status != 0: 11.081478755921125 11.109268522 9.991813372 Calling exit ...