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.001265/0.001265, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00142/0.00142, allocations: 220.1 kB / 23.03 MB, free: 4.922 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.01239/0.01239, allocations: 2.806 MB / 316 MB, free: 108 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="cs",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.001967/0.001967, allocations: 59.91 kB / 439.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09551, allocations: 54.18 MB / 493.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02083/0.1163, allocations: 17.32 MB / 0.499 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1222, allocations: 5.274 MB / 0.5041 GB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.1224, allocations: 0 / 0.5041 GB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.1231, allocations: 206.7 kB / 0.5043 GB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1957/0.3188, allocations: 1.167 MB / 0.5054 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.319, allocations: 83.12 kB / 0.5055 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.3194, allocations: 305 kB / 0.5058 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.3195, allocations: 13.3 kB / 0.5058 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3196, allocations: 96.42 kB / 0.5059 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3198, allocations: 113.2 kB / 0.506 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3198, allocations: 7.594 kB / 0.506 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3333/0.6531, allocations: 38.68 MB / 0.5438 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.6532, allocations: 37.25 kB / 0.5438 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.6537, allocations: 112.5 kB / 0.5439 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.6576, allocations: 0.5058 MB / 0.5444 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6576, allocations: 0 / 0.5444 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6576, allocations: 0 / 0.5444 GB, free: 1.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.6576, allocations: 0 / 0.5444 GB, free: 1.844 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.001086/0.6587, allocations: 0.4951 MB / 0.5449 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.6587, allocations: 11.97 kB / 0.5449 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.377e-05/0.6588, allocations: 8.688 kB / 0.5449 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.491e-05/0.6588, allocations: 75.69 kB / 0.545 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.6598, allocations: 207.7 kB / 0.5452 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.6599, allocations: 136.9 kB / 0.5453 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.6599, allocations: 15.78 kB / 0.5454 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.66, allocations: 28.06 kB / 0.5454 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.6605, allocations: 341.9 kB / 0.5457 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6605, allocations: 0 / 0.5457 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.6605, allocations: 10.81 kB / 0.5457 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.6605, allocations: 13.44 kB / 0.5457 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.6609, allocations: 278.1 kB / 0.546 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.6624, allocations: 0.8502 MB / 0.5468 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.6625, allocations: 97.58 kB / 0.5469 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.6627, allocations: 77.66 kB / 0.547 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/0.6634, allocations: 0.5061 MB / 0.5475 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6634, allocations: 44.94 kB / 0.5475 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 0.0003685/0.6638, allocations: 0 / 0.5475 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003876/0.6641, allocations: 187.3 kB / 0.5477 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.6642, allocations: 79.22 kB / 0.5478 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.6643, allocations: 107.6 kB / 0.5479 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6643, allocations: 28.39 kB / 0.5479 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.6644, allocations: 160.7 kB / 0.5481 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.6645, allocations: 107.5 kB / 0.5482 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.6645, allocations: 37.19 kB / 0.5482 GB, free: 14.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.6647, allocations: 327.9 kB / 0.5485 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.6647, allocations: 39.64 kB / 0.5486 GB, free: 14.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.6648, allocations: 79.19 kB / 0.5486 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.665, allocations: 132.1 kB / 0.5488 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.665, allocations: 0 / 0.5488 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002453/0.6652, allocations: 165 kB / 0.5489 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6653, allocations: 4 kB / 0.5489 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6653, allocations: 4.188 kB / 0.5489 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6653, allocations: 4.188 kB / 0.5489 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.6654, allocations: 8 kB / 0.5489 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6654, allocations: 7 kB / 0.5489 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.6654, allocations: 23.28 kB / 0.549 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.6655, allocations: 11.92 kB / 0.549 GB, free: 14.19 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.0001228/0.6656, allocations: 127.8 kB / 0.5491 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.6656, allocations: 7.953 kB / 0.5491 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.6657, allocations: 12.09 kB / 0.5491 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6657, allocations: 0 / 0.5491 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6657, allocations: 11.88 kB / 0.5491 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6657, allocations: 3 kB / 0.5491 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.666, allocations: 247.8 kB / 0.5494 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.666, allocations: 0 / 0.5494 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.666, allocations: 4 kB / 0.5494 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6661, allocations: 0 / 0.5494 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.6661, allocations: 4 kB / 0.5494 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6661, allocations: 4 kB / 0.5494 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6661, allocations: 0 / 0.5494 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.6676, allocations: 317 kB / 0.5497 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.6677, allocations: 22.8 kB / 0.5497 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.6677, allocations: 4 kB / 0.5497 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6678, allocations: 0 / 0.5497 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.6678, allocations: 4 kB / 0.5497 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.6678, allocations: 4.828 kB / 0.5497 GB, free: 13.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.6679, allocations: 84.52 kB / 0.5498 GB, free: 13.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6679, allocations: 0 / 0.5498 GB, free: 13.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.6683, allocations: 83.72 kB / 0.5499 GB, free: 13.35 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.000912/0.6692, allocations: 0.9365 MB / 0.5508 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.6695, allocations: 212.1 kB / 0.551 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6695, allocations: 4 kB / 0.551 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.6697, allocations: 183.8 kB / 0.5512 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.6705, allocations: 90.72 kB / 0.5513 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.6716, allocations: 0.5869 MB / 0.5518 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.6718, allocations: 191 kB / 0.552 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.6719, allocations: 29.12 kB / 0.552 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.6721, allocations: 118.6 kB / 0.5522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6721, allocations: 4 kB / 0.5522 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.7052, allocations: 8.812 MB / 0.5608 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.3, allocations: 11.97 kB / 0.5608 GB, free: 2.453 MB / 398.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.55615843902342] Failed to read output from testmodel.py, exit status != 0: 12.685571265988983 12.703149839 12.04219836 Calling exit ...