Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.0007641/0.0007641, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009634/0.0009634, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9264/0.9264, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008599/0.008599, allocations: 1.983 MB / 261.2 MB, free: 11.25 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.188e-05, allocations: 5.094 kB / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01333/0.01335, allocations: 17.29 MB / 401.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.01652, allocations: 5.263 MB / 407.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.01666, allocations: 8 kB / 407.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.01716, allocations: 210.6 kB / 407.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.01985, allocations: 1.217 MB / 408.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.02008, allocations: 95.23 kB / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.02042, allocations: 325.5 kB / 409.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.02047, allocations: 12.94 kB / 409.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.02061, allocations: 139.6 kB / 409.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.02071, allocations: 91.75 kB / 409.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.02073, allocations: 8 kB / 409.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8449/0.8656, allocations: 39.15 MB / 448.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.8657, allocations: 35.22 kB / 448.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.8658, allocations: 89.06 kB / 448.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.8672, allocations: 0.5056 MB / 449.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8672, allocations: 0 / 449.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8672, allocations: 7.375 kB / 449.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.8672, allocations: 0 / 449.1 MB, free: 3.574 MB / 330.7 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.0004338/0.8677, allocations: 0.5005 MB / 449.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8677, allocations: 11.97 kB / 449.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.8677, allocations: 65.84 kB / 449.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.8681, allocations: 202.2 kB / 449.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.548e-05/0.8682, allocations: 136.6 kB / 450 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.8682, allocations: 16.12 kB / 450 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.8682, allocations: 24.19 kB / 450 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.8685, allocations: 339.4 kB / 450.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.8685, allocations: 7.938 kB / 450.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.8685, allocations: 11.12 kB / 450.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.8685, allocations: 6.812 kB / 450.4 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.8687, allocations: 279.8 kB / 450.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.8694, allocations: 0.8514 MB / 451.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.8694, allocations: 96.77 kB / 451.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.8695, allocations: 71.12 kB / 451.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.8698, allocations: 0.504 MB / 452.2 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.8698, allocations: 40.72 kB / 452.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.022e-06/0.8698, allocations: 0 / 452.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002304/0.87, allocations: 187.9 kB / 452.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.8701, allocations: 80.86 kB / 452.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.8701, allocations: 106.2 kB / 452.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.8701, allocations: 29.77 kB / 452.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.8702, allocations: 165.2 kB / 452.8 MB, free: 0.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.8702, allocations: 101.8 kB / 452.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.8702, allocations: 41.47 kB / 452.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.8702, allocations: 322.6 kB / 453.2 MB, free: 268 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.8703, allocations: 31.19 kB / 453.3 MB, free: 256 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.8703, allocations: 84.06 kB / 453.3 MB, free: 176 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.8704, allocations: 149.3 kB / 453.5 MB, free: 60 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8704, allocations: 0 / 453.5 MB, free: 60 kB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001727/0.8706, allocations: 160.6 kB / 453.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8706, allocations: 8 kB / 453.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8706, allocations: 0 / 453.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8706, allocations: 4 kB / 453.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.8707, allocations: 11.98 kB / 453.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.8707, allocations: 0 / 453.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.8707, allocations: 19.84 kB / 453.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.8707, allocations: 8.188 kB / 453.7 MB, free: 15.89 MB / 346.7 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 8.704e-05/0.8708, allocations: 132.2 kB / 453.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.8709, allocations: 15.84 kB / 453.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.8709, allocations: 12.28 kB / 453.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8709, allocations: 192 / 453.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8709, allocations: 0 / 453.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.8709, allocations: 3.984 kB / 453.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.8711, allocations: 252.5 kB / 454.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.8711, allocations: 0 / 454.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.8711, allocations: 4 kB / 454.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8711, allocations: 4 kB / 454.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8711, allocations: 0 / 454.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8711, allocations: 4 kB / 454.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8711, allocations: 0 / 454.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.8713, allocations: 319.7 kB / 454.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.8714, allocations: 15.88 kB / 454.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.8714, allocations: 0 / 454.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.8714, allocations: 4 kB / 454.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.8714, allocations: 0 / 454.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.8714, allocations: 4 kB / 454.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.8715, allocations: 86.95 kB / 454.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8715, allocations: 7.938 kB / 454.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.8717, allocations: 83.72 kB / 454.6 MB, free: 15.01 MB / 346.7 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.0006357/0.8724, allocations: 0.9404 MB / 455.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.8726, allocations: 208.3 kB / 455.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8726, allocations: 0 / 455.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.8727, allocations: 188.3 kB / 455.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.8731, allocations: 71.36 kB / 456 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.8738, allocations: 0.5629 MB / 456.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.8739, allocations: 191.1 kB / 456.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.874, allocations: 33.06 kB / 456.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.8741, allocations: 116.4 kB / 456.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8741, allocations: 0 / 456.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.8925, allocations: 9.045 MB / 466 MB, free: 3.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.642, allocations: 0 / 466 MB, free: 3.902 MB / 346.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.21949247457087] Failed to read output from testmodel.py, exit status != 0: 7.977235142141581 7.984907601 7.115775748 Calling exit ...