Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.001308/0.001308, 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.001494/0.001494, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.793 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.01346/0.01346, allocations: 2.813 MB / 315.2 MB, free: 80 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_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",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.00196/0.00196, allocations: 67.88 kB / 438.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.09092, allocations: 54.18 MB / 492.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01993/0.1109, allocations: 17.33 MB / 0.4982 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.1163, allocations: 5.278 MB / 0.5034 GB, free: 312 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1165, allocations: 0 / 0.5034 GB, free: 312 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.1171, allocations: 206.7 kB / 0.5036 GB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1932/0.3104, allocations: 1.164 MB / 0.5047 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.3106, allocations: 84.5 kB / 0.5048 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.311, allocations: 308.6 kB / 0.5051 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.311, allocations: 13.02 kB / 0.5051 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3111, allocations: 99.56 kB / 0.5052 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3113, allocations: 101.6 kB / 0.5053 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3113, allocations: 8.156 kB / 0.5053 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6384/0.9497, allocations: 39.16 MB / 0.5435 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.9498, allocations: 34.88 kB / 0.5436 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.9501, allocations: 106.3 kB / 0.5437 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.9524, allocations: 0.5084 MB / 0.5442 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9524, allocations: 3.5 kB / 0.5442 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.9524, allocations: 0 / 0.5442 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.9524, allocations: 3.938 kB / 0.5442 GB, free: 1.273 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007522/0.9531, allocations: 0.4907 MB / 0.5446 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9532, allocations: 12.03 kB / 0.5447 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.078e-05/0.9533, allocations: 68.61 kB / 0.5447 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.9542, allocations: 208.9 kB / 0.5449 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.9543, allocations: 136 kB / 0.545 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.9543, allocations: 15.94 kB / 0.5451 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.9544, allocations: 27.62 kB / 0.5451 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.9548, allocations: 341.2 kB / 0.5454 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9549, allocations: 2.719 kB / 0.5454 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.9549, allocations: 7.125 kB / 0.5454 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.9549, allocations: 14.23 kB / 0.5454 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.9552, allocations: 275.7 kB / 0.5457 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.9565, allocations: 0.8586 MB / 0.5465 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.9567, allocations: 92.69 kB / 0.5466 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.9568, allocations: 76.78 kB / 0.5467 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.9574, allocations: 0.508 MB / 0.5472 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.9574, allocations: 30.56 kB / 0.5472 GB, free: 14.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.9574, allocations: 3.938 kB / 0.5472 GB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004153/0.9578, allocations: 185.5 kB / 0.5474 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.9579, allocations: 79.48 kB / 0.5475 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.958, allocations: 109.7 kB / 0.5476 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.958, allocations: 25.7 kB / 0.5476 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.9581, allocations: 168.3 kB / 0.5478 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.9582, allocations: 99.94 kB / 0.5479 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9583, allocations: 44.78 kB / 0.5479 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.9585, allocations: 331.5 kB / 0.5482 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.9586, allocations: 33.5 kB / 0.5483 GB, free: 13.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.9587, allocations: 80.84 kB / 0.5483 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.9589, allocations: 138.4 kB / 0.5485 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9589, allocations: 0 / 0.5485 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002725/0.9591, allocations: 154.2 kB / 0.5486 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9592, allocations: 12 kB / 0.5486 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9592, allocations: 2.484 kB / 0.5486 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9592, allocations: 4 kB / 0.5486 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.9593, allocations: 11 kB / 0.5486 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9593, allocations: 0 / 0.5486 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.9594, allocations: 23.78 kB / 0.5487 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.9594, allocations: 11.75 kB / 0.5487 GB, free: 13.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001344/0.9595, allocations: 123.8 kB / 0.5488 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.9596, allocations: 11.91 kB / 0.5488 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.9596, allocations: 15.53 kB / 0.5488 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9596, allocations: 7.938 kB / 0.5488 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9596, allocations: 0 / 0.5488 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.9596, allocations: 3.938 kB / 0.5488 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.96, allocations: 248.2 kB / 0.5491 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.96, allocations: 4 kB / 0.5491 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.9601, allocations: 7.984 kB / 0.5491 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.9601, allocations: 192 / 0.5491 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.9601, allocations: 4 kB / 0.5491 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9601, allocations: 0 / 0.5491 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9601, allocations: 0 / 0.5491 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.9621, allocations: 318.3 kB / 0.5494 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.9622, allocations: 19.17 kB / 0.5494 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.9622, allocations: 0 / 0.5494 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.9623, allocations: 7.688 kB / 0.5494 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.9623, allocations: 3.984 kB / 0.5494 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.9623, allocations: 7.938 kB / 0.5494 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.9624, allocations: 79.28 kB / 0.5495 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9624, allocations: 0 / 0.5495 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.9629, allocations: 86.72 kB / 0.5496 GB, free: 12.77 MB / 398.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009407/0.9638, allocations: 0.9326 MB / 0.5505 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.9642, allocations: 214.9 kB / 0.5507 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9642, allocations: 0 / 0.5507 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.9644, allocations: 180.4 kB / 0.5509 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.9651, allocations: 100.2 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.9671, allocations: 0.5863 MB / 0.5515 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.9674, allocations: 199 kB / 0.5517 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.9675, allocations: 21.14 kB / 0.5517 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.9676, allocations: 120.2 kB / 0.5519 GB, free: 10.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9676, allocations: 0 / 0.5519 GB, free: 10.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04092/1.009, allocations: 8.933 MB / 0.5606 GB, free: 1.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.2, allocations: 10.48 kB / 0.5606 GB, free: 1.738 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.307887027971447] Failed to read output from testmodel.py, exit status != 0: 12.532035510987043 12.550583194 11.594736093 Calling exit ...