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.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.00148/0.00148, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001648/0.001648, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.977 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.01291/0.01291, allocations: 2.799 MB / 315.2 MB, free: 276 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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [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.002077/0.002077, allocations: 71.89 kB / 439.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1029, allocations: 54.19 MB / 493.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.2642/0.3671, allocations: 51.31 MB / 0.5319 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03028/0.3974, allocations: 29.21 MB / 0.5604 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.3981, allocations: 6.5 kB / 0.5605 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3999, allocations: 0.6143 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.4068, allocations: 2.249 MB / 0.5633 GB, free: 2.332 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.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.0102/0.417, allocations: 2.928 MB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.4184, allocations: 0.9392 MB / 0.567 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4185, allocations: 25.95 kB / 0.5671 GB, free: 15.33 MB / 414.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.4716/0.8901, allocations: 51.34 MB / 0.6172 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000778/0.8909, allocations: 302.5 kB / 0.6175 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.8911, allocations: 43.98 kB / 0.6175 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2401/1.131, allocations: 27.08 MB / 0.644 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/1.131, allocations: 111.5 kB / 0.6441 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006532/1.132, allocations: 342.4 kB / 0.6444 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/1.139, allocations: 1.866 MB / 0.6462 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.139, allocations: 0 / 0.6462 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/1.139, allocations: 0 / 0.6462 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.374e-05/1.139, allocations: 0 / 0.6462 GB, free: 15.09 MB / 494.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.001884/1.141, allocations: 1.045 MB / 0.6472 GB, free: 14.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.141, allocations: 11.97 kB / 0.6472 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/1.143, allocations: 0.5039 MB / 0.6477 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/1.145, allocations: 281.6 kB / 0.648 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/1.145, allocations: 46.06 kB / 0.6481 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/1.145, allocations: 52 kB / 0.6481 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.147, allocations: 0.8804 MB / 0.649 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.147, allocations: 4 kB / 0.649 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/1.147, allocations: 24 kB / 0.649 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/1.147, allocations: 39.97 kB / 0.649 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/1.148, allocations: 0.7123 MB / 0.6497 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004796/1.153, allocations: 4.978 MB / 0.6546 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/1.154, allocations: 265 kB / 0.6548 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/1.154, allocations: 153.7 kB / 0.655 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.155, allocations: 0.9117 MB / 0.6559 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.155, allocations: 42.5 kB / 0.6559 GB, free: 4.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.863e-06/1.155, allocations: 0 / 0.6559 GB, free: 4.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001589/1.157, allocations: 0.5973 MB / 0.6565 GB, free: 3.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/1.157, allocations: 77.11 kB / 0.6566 GB, free: 3.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/1.157, allocations: 190.5 kB / 0.6568 GB, free: 3.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.157, allocations: 25.7 kB / 0.6568 GB, free: 3.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/1.157, allocations: 300.4 kB / 0.6571 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/1.157, allocations: 249.8 kB / 0.6573 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.158, allocations: 93.97 kB / 0.6574 GB, free: 2.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/1.158, allocations: 342.8 kB / 0.6577 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.158, allocations: 117.3 kB / 0.6578 GB, free: 2.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/1.158, allocations: 303.9 kB / 0.6581 GB, free: 1.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/1.159, allocations: 473 kB / 0.6586 GB, free: 1.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.159, allocations: 4 kB / 0.6586 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008554/1.16, allocations: 488.5 kB / 0.659 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.16, allocations: 8 kB / 0.659 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.16, allocations: 7.938 kB / 0.6591 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.16, allocations: 8 kB / 0.6591 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/1.16, allocations: 71.91 kB / 0.6591 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/1.16, allocations: 15.92 kB / 0.6591 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.16, allocations: 55.52 kB / 0.6592 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/1.16, allocations: 24.34 kB / 0.6592 GB, free: 0.7734 MB / 494.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.0002375/1.161, allocations: 197.6 kB / 0.6594 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/1.161, allocations: 27.81 kB / 0.6594 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/1.161, allocations: 34.58 kB / 0.6595 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.161, allocations: 4 kB / 0.6595 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.161, allocations: 0 / 0.6595 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.161, allocations: 0 / 0.6595 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/1.162, allocations: 467.9 kB / 0.6599 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.162, allocations: 0 / 0.6599 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/1.162, allocations: 35.98 kB / 0.66 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.162, allocations: 0 / 0.66 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/1.162, allocations: 11.92 kB / 0.66 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.162, allocations: 0 / 0.66 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.162, allocations: 0 / 0.66 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/1.162, allocations: 0.5022 MB / 0.6605 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/1.163, allocations: 43.62 kB / 0.6605 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/1.163, allocations: 8.125 kB / 0.6605 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/1.163, allocations: 11.98 kB / 0.6605 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/1.163, allocations: 19.91 kB / 0.6605 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/1.163, allocations: 12 kB / 0.6605 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001098/1.163, allocations: 120.2 kB / 0.6607 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 0.6607 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000673/1.164, allocations: 191.5 kB / 0.6608 GB, free: 15.04 MB / 0.4981 GB 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.0006015/1.164, allocations: 313 kB / 0.6611 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.166, allocations: 0.5412 MB / 0.6617 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.166, allocations: 3.938 kB / 0.6617 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/1.166, allocations: 459.7 kB / 0.6621 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.168, allocations: 196.4 kB / 0.6623 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.169, allocations: 1.049 MB / 0.6633 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/1.17, allocations: 0.9463 MB / 0.6643 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005603/1.171, allocations: 261.8 kB / 0.6645 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/1.171, allocations: 43.44 kB / 0.6645 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/1.171, allocations: 0 / 0.6645 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.02443/1.195, allocations: 12.01 MB / 0.6763 GB, free: 15.07 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7046025870367885] Failed to read output from testmodel.py, exit status != 0: 1.2031192230060697 1.221168176 0.07890082000000001 Calling exit ...