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.001269/0.001269, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001582/0.001582, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.525/1.525, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.01296/0.01296, allocations: 2.807 MB / 308.9 MB, free: 5.953 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: 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: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 430.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.09099, allocations: 52.96 MB / 483.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.3037/0.3947, allocations: 51.21 MB / 0.5221 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02069/0.4154, allocations: 29.2 MB / 0.5506 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.4161, allocations: 11.22 kB / 0.5506 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.418, allocations: 0.6104 MB / 0.5512 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007465/0.4254, allocations: 2.252 MB / 0.5534 GB, free: 476 kB / 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.01112/0.4366, allocations: 2.919 MB / 0.5563 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.4385, allocations: 0.9294 MB / 0.5572 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4386, allocations: 31.66 kB / 0.5572 GB, free: 14.6 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.4348/0.8734, allocations: 51.29 MB / 0.6073 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009833/0.8744, allocations: 314.5 kB / 0.6076 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.8746, allocations: 40 kB / 0.6076 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2241/1.099, allocations: 27.04 MB / 0.634 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/1.099, allocations: 115.5 kB / 0.6341 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008324/1.1, allocations: 330.5 kB / 0.6344 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/1.11, allocations: 1.858 MB / 0.6363 GB, free: 6.387 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.11, allocations: 4 kB / 0.6363 GB, free: 6.383 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/1.11, allocations: 3.938 kB / 0.6363 GB, free: 6.379 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.182e-05/1.11, allocations: 0 / 0.6363 GB, free: 6.379 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.002465/1.113, allocations: 1.131 MB / 0.6374 GB, free: 5.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.113, allocations: 8.031 kB / 0.6374 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/1.115, allocations: 0.4961 MB / 0.6379 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/1.117, allocations: 343.5 kB / 0.6382 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/1.117, allocations: 50.06 kB / 0.6382 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/1.117, allocations: 56 kB / 0.6383 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/1.119, allocations: 0.8684 MB / 0.6391 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.119, allocations: 7.938 kB / 0.6392 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/1.12, allocations: 23.94 kB / 0.6392 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/1.12, allocations: 35.97 kB / 0.6392 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.121, allocations: 0.7078 MB / 0.6399 GB, free: 2.535 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/1.126, allocations: 5.008 MB / 0.6448 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/1.127, allocations: 265.1 kB / 0.645 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/1.127, allocations: 153.6 kB / 0.6452 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.129, allocations: 1.533 MB / 0.6467 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.129, allocations: 34.56 kB / 0.6467 GB, free: 10.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/1.129, allocations: 0 / 0.6467 GB, free: 10.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001642/1.13, allocations: 0.5965 MB / 0.6473 GB, free: 10.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/1.13, allocations: 81.05 kB / 0.6474 GB, free: 10.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/1.13, allocations: 186.6 kB / 0.6476 GB, free: 9.848 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/1.131, allocations: 29.7 kB / 0.6476 GB, free: 9.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/1.131, allocations: 300.4 kB / 0.6479 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.131, allocations: 241.8 kB / 0.6481 GB, free: 9.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.131, allocations: 97.95 kB / 0.6482 GB, free: 9.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/1.131, allocations: 342.8 kB / 0.6485 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/1.131, allocations: 121.3 kB / 0.6486 GB, free: 8.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/1.132, allocations: 292.1 kB / 0.6489 GB, free: 8.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/1.133, allocations: 480.8 kB / 0.6494 GB, free: 7.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.133, allocations: 4 kB / 0.6494 GB, free: 7.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008502/1.133, allocations: 484.8 kB / 0.6498 GB, free: 7.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.133, allocations: 12.12 kB / 0.6499 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.133, allocations: 12.09 kB / 0.6499 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/1.134, allocations: 11.94 kB / 0.6499 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/1.134, allocations: 71.84 kB / 0.6499 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/1.134, allocations: 19.91 kB / 0.65 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/1.134, allocations: 55.52 kB / 0.65 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/1.134, allocations: 20 kB / 0.65 GB, free: 7.117 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.0002465/1.134, allocations: 190.6 kB / 0.6502 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/1.134, allocations: 35.77 kB / 0.6503 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/1.134, allocations: 34.59 kB / 0.6503 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.134, allocations: 0 / 0.6503 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.134, allocations: 0 / 0.6503 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.135, allocations: 3.984 kB / 0.6503 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/1.135, allocations: 496.9 kB / 0.6508 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.135, allocations: 0 / 0.6508 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.135, allocations: 31.92 kB / 0.6508 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.135, allocations: 4.172 kB / 0.6508 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.135, allocations: 11.94 kB / 0.6508 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.135, allocations: 7.938 kB / 0.6508 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.135, allocations: 0 / 0.6508 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/1.136, allocations: 0.5023 MB / 0.6513 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/1.136, allocations: 120.7 kB / 0.6514 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/1.136, allocations: 7.938 kB / 0.6514 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/1.136, allocations: 11.94 kB / 0.6514 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.136, allocations: 23.97 kB / 0.6515 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.136, allocations: 8 kB / 0.6515 GB, free: 5.555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001091/1.136, allocations: 128.2 kB / 0.6516 GB, free: 5.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.136, allocations: 0 / 0.6516 GB, free: 5.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007476/1.137, allocations: 187.5 kB / 0.6518 GB, free: 5.246 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.0006323/1.138, allocations: 293.3 kB / 0.6521 GB, free: 4.953 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/1.139, allocations: 0.5645 MB / 0.6526 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.139, allocations: 0 / 0.6526 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/1.139, allocations: 459.7 kB / 0.653 GB, free: 3.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.14, allocations: 184.8 kB / 0.6532 GB, free: 3.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/1.142, allocations: 1.047 MB / 0.6542 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/1.143, allocations: 0.9542 MB / 0.6552 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005108/1.143, allocations: 257.9 kB / 0.6554 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/1.143, allocations: 47.42 kB / 0.6555 GB, free: 1.305 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/1.143, allocations: 0 / 0.6555 GB, free: 1.305 MB / 478.1 MB Notification: Performance of Templates: time 0.02252/1.166, allocations: 11.55 MB / 0.6667 GB, free: 5.754 MB / 494.1 MB " [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 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.437321191187948] Failed to read output from testmodel.py, exit status != 0: 1.1746282828971744 1.191834895 0.07824365000000001 Calling exit ...