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.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.001651/0.001651, allocations: 108.5 kB / 16.46 MB, free: 6.508 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.0019/0.0019, allocations: 199.8 kB / 19.41 MB, free: 3.664 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.774/1.774, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.02015/0.02015, allocations: 2.793 MB / 305.5 MB, free: 7.02 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 425 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1213, allocations: 52.94 MB / 478 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02393/0.1453, allocations: 19.22 MB / 497.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006936/0.1522, allocations: 6.092 MB / 0.4915 GB, free: 7.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1525, allocations: 0 / 0.4915 GB, free: 7.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.1534, allocations: 254.5 kB / 0.4917 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.1574, allocations: 1.21 MB / 0.4929 GB, free: 6.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1577, allocations: 87.36 kB / 0.493 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.1583, allocations: 297.8 kB / 0.4933 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.1583, allocations: 16.73 kB / 0.4933 GB, free: 5.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1584, allocations: 99.47 kB / 0.4934 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1586, allocations: 107.5 kB / 0.4935 GB, free: 5.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1586, allocations: 8 kB / 0.4935 GB, free: 5.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6041/0.7628, allocations: 38.62 MB / 0.5312 GB, free: 21.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.7629, allocations: 30.77 kB / 0.5312 GB, free: 21.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.7632, allocations: 136 kB / 0.5314 GB, free: 21.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.7656, allocations: 0.509 MB / 0.5319 GB, free: 21.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7656, allocations: 0 / 0.5319 GB, free: 21.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7656, allocations: 1.062 kB / 0.5319 GB, free: 21.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.7656, allocations: 0 / 0.5319 GB, free: 21.42 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.0006591/0.7662, allocations: 0.5675 MB / 0.5324 GB, free: 20.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7663, allocations: 8.875 kB / 0.5324 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/0.7664, allocations: 69.8 kB / 0.5325 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/0.7672, allocations: 207.4 kB / 0.5327 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.7673, allocations: 187.6 kB / 0.5329 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.7674, allocations: 17.88 kB / 0.5329 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.7674, allocations: 27.38 kB / 0.5329 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.7679, allocations: 337.7 kB / 0.5332 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7679, allocations: 0 / 0.5332 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.768, allocations: 10.06 kB / 0.5332 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.768, allocations: 13.22 kB / 0.5333 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.7684, allocations: 270.8 kB / 0.5335 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.7699, allocations: 2.123 MB / 0.5356 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.77, allocations: 97.52 kB / 0.5357 GB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.7701, allocations: 71.8 kB / 0.5358 GB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.7706, allocations: 0.7037 MB / 0.5364 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.7706, allocations: 31.17 kB / 0.5365 GB, free: 17.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.242e-06/0.7706, allocations: 0 / 0.5365 GB, free: 17.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003764/0.771, allocations: 184.6 kB / 0.5366 GB, free: 17.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.7711, allocations: 79.7 kB / 0.5367 GB, free: 17.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.7711, allocations: 106.6 kB / 0.5368 GB, free: 17.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.7711, allocations: 25.7 kB / 0.5368 GB, free: 17.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.7712, allocations: 167.1 kB / 0.537 GB, free: 17.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.7713, allocations: 114.4 kB / 0.5371 GB, free: 17.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.7713, allocations: 35.06 kB / 0.5371 GB, free: 17.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.7714, allocations: 328.3 kB / 0.5375 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.7714, allocations: 32.53 kB / 0.5375 GB, free: 17.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.7715, allocations: 82.5 kB / 0.5376 GB, free: 17.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.7717, allocations: 146 kB / 0.5377 GB, free: 17.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7717, allocations: 0 / 0.5377 GB, free: 17.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002595/0.772, allocations: 166.8 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.772, allocations: 7.031 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.772, allocations: 0.9062 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.772, allocations: 2.531 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.7721, allocations: 9.938 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7721, allocations: 3.219 kB / 0.5379 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.7722, allocations: 22.81 kB / 0.5379 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.7722, allocations: 5.344 kB / 0.5379 GB, free: 16.96 MB / 382.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 9.603e-05/0.7723, allocations: 138.1 kB / 0.5381 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.7723, allocations: 16.44 kB / 0.5381 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.7724, allocations: 10.91 kB / 0.5381 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7724, allocations: 1.062 kB / 0.5381 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7724, allocations: 0 / 0.5381 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7724, allocations: 1.734 kB / 0.5381 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.7727, allocations: 282.1 kB / 0.5383 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7727, allocations: 5.719 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.7727, allocations: 3.016 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7727, allocations: 1.125 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.7727, allocations: 2.125 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.7727, allocations: 1.75 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7727, allocations: 4.906 kB / 0.5384 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.7749, allocations: 315 kB / 0.5387 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.775, allocations: 98.19 kB / 0.5388 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.775, allocations: 2.203 kB / 0.5388 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.7751, allocations: 0 / 0.5388 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.7751, allocations: 4.734 kB / 0.5388 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.7751, allocations: 5.844 kB / 0.5388 GB, free: 16.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.7752, allocations: 84.55 kB / 0.5389 GB, free: 16.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7752, allocations: 0 / 0.5389 GB, free: 16.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.7758, allocations: 83.78 kB / 0.5389 GB, free: 16.2 MB / 382.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.0008331/0.7766, allocations: 0.9286 MB / 0.5398 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.7769, allocations: 215.7 kB / 0.54 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7769, allocations: 0 / 0.54 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.7771, allocations: 177.4 kB / 0.5402 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7782, allocations: 83.25 kB / 0.5403 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.7798, allocations: 0.5907 MB / 0.5409 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.7802, allocations: 0.7967 MB / 0.5416 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.7803, allocations: 24.23 kB / 0.5417 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.7805, allocations: 118 kB / 0.5418 GB, free: 14.15 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7805, allocations: 0 / 0.5418 GB, free: 14.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.8155, allocations: 8.131 MB / 0.5497 GB, free: 11.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/9.564, allocations: 16.25 kB / 0.5497 GB, free: 11.14 MB / 382.1 MB " [Timeout remaining time 650] (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: 12.98426384665072] Failed to read output from testmodel.py, exit status != 0: 9.850663942284882 9.866819113 9.098004738 Calling exit ...