Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.00128/0.00128, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001503/0.001503, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.012 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.01877/0.01877, allocations: 2.798 MB / 315.2 MB, free: 316 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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",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.002047/0.002047, allocations: 68.17 kB / 438.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 54.18 MB / 492.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02182/0.1244, allocations: 19.4 MB / 0.5003 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2345/0.3589, allocations: 6.081 MB / 0.5062 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.3593, allocations: 1.344 kB / 0.5062 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.36, allocations: 253.4 kB / 0.5065 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.3641, allocations: 1.211 MB / 0.5076 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3644, allocations: 83.61 kB / 0.5077 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.365, allocations: 307.8 kB / 0.508 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.365, allocations: 19.05 kB / 0.508 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3652, allocations: 95.36 kB / 0.5081 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3654, allocations: 113.1 kB / 0.5082 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3654, allocations: 7.938 kB / 0.5082 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3562/0.7216, allocations: 38.68 MB / 0.546 GB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.7217, allocations: 36.08 kB / 0.5461 GB, free: 468 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.7222, allocations: 127.5 kB / 0.5462 GB, free: 368 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.725, allocations: 0.5078 MB / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.725, allocations: 0 / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.725, allocations: 4 kB / 0.5467 GB, free: 52 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.725, allocations: 3.281 kB / 0.5467 GB, free: 52 kB / 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.0009668/0.726, allocations: 0.4977 MB / 0.5472 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.726, allocations: 8.031 kB / 0.5472 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.7261, allocations: 73.22 kB / 0.5472 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.727, allocations: 205.6 kB / 0.5474 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.7271, allocations: 127.1 kB / 0.5476 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.7272, allocations: 24.17 kB / 0.5476 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.7272, allocations: 26.81 kB / 0.5476 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.7277, allocations: 337 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7278, allocations: 0 / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.7278, allocations: 11 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.7278, allocations: 13.11 kB / 0.548 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.7282, allocations: 285 kB / 0.5482 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.7303, allocations: 2.083 MB / 0.5503 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.7305, allocations: 95.44 kB / 0.5503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.7306, allocations: 80.62 kB / 0.5504 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/0.7313, allocations: 0.5143 MB / 0.5509 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.7314, allocations: 34.56 kB / 0.551 GB, free: 11.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.7314, allocations: 0 / 0.551 GB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.001335/0.7327, allocations: 181 kB / 0.5511 GB, free: 11.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.7328, allocations: 80.73 kB / 0.5512 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.7329, allocations: 109.2 kB / 0.5513 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.7329, allocations: 25.7 kB / 0.5513 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.733, allocations: 162.1 kB / 0.5515 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.7331, allocations: 113.4 kB / 0.5516 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7332, allocations: 40.16 kB / 0.5516 GB, free: 11.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.7334, allocations: 326.4 kB / 0.552 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.7335, allocations: 33.94 kB / 0.552 GB, free: 10.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.7336, allocations: 82.81 kB / 0.5521 GB, free: 10.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.7338, allocations: 144.4 kB / 0.5522 GB, free: 10.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7338, allocations: 0 / 0.5522 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002786/0.7341, allocations: 162.9 kB / 0.5524 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.7341, allocations: 7.906 kB / 0.5524 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.7341, allocations: 7.938 kB / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.7341, allocations: 0 / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.7343, allocations: 11.94 kB / 0.5524 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.7343, allocations: 7.984 kB / 0.5524 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.7343, allocations: 19.78 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.7344, allocations: 4 kB / 0.5524 GB, free: 10.5 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.000133/0.7345, allocations: 128.8 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.7345, allocations: 12.02 kB / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.7346, allocations: 11.91 kB / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.7346, allocations: 0 / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7346, allocations: 0 / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7346, allocations: 4 kB / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.735, allocations: 255.5 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.735, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.7351, allocations: 0 / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.7351, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7351, allocations: 0 / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7351, allocations: 3.984 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7351, allocations: 7.938 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.7374, allocations: 313.3 kB / 0.5531 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.7375, allocations: 15.84 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.7375, allocations: 7.125 kB / 0.5531 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.7376, allocations: 0 / 0.5531 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.7376, allocations: 7.984 kB / 0.5532 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7376, allocations: 4 kB / 0.5532 GB, free: 9.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.141e-05/0.7377, allocations: 86.66 kB / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7377, allocations: 0 / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.7382, allocations: 87.66 kB / 0.5533 GB, free: 9.598 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.0009534/0.7391, allocations: 0.9295 MB / 0.5542 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.7395, allocations: 213.1 kB / 0.5544 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7395, allocations: 0 / 0.5544 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.7397, allocations: 185.3 kB / 0.5546 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.7404, allocations: 84.14 kB / 0.5547 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.7417, allocations: 0.5878 MB / 0.5553 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.7423, allocations: 0.7917 MB / 0.556 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.7424, allocations: 29.12 kB / 0.5561 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.7426, allocations: 119.4 kB / 0.5562 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7426, allocations: 0 / 0.5562 GB, free: 6.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.7808, allocations: 8.739 MB / 0.5647 GB, free: 13.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.36, allocations: 7.844 kB / 0.5647 GB, free: 13.94 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.427059288136661] Failed to read output from testmodel.py, exit status != 0: 12.698669906007126 12.730362955 11.999980278 Calling exit ...