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.0007569/0.0007569, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000748/0.000748, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8752/0.8752, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.007947/0.007947, allocations: 1.982 MB / 261.2 MB, free: 11.27 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.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: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.531e-05, allocations: 6.219 kB / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.0117/0.01172, allocations: 17.29 MB / 402 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.01444, allocations: 5.259 MB / 407.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.01451, allocations: 4 kB / 407.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.01514, allocations: 218.6 kB / 407.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.01652, allocations: 1.213 MB / 408.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.01672, allocations: 91.23 kB / 408.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.01693, allocations: 329.5 kB / 409.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.01698, allocations: 12.94 kB / 409.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.01707, allocations: 143.5 kB / 409.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.01715, allocations: 87.77 kB / 409.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.01717, allocations: 8 kB / 409.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8522/0.8694, allocations: 39.15 MB / 448.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.8694, allocations: 34.75 kB / 448.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.8696, allocations: 89.05 kB / 448.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.8709, allocations: 0.5011 MB / 449.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8709, allocations: 3.938 kB / 449.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8709, allocations: 0 / 449.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.8709, allocations: 8 kB / 449.1 MB, free: 4.102 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.0004222/0.8713, allocations: 0.4947 MB / 449.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8713, allocations: 12.03 kB / 449.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.8714, allocations: 63.41 kB / 449.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.8718, allocations: 211.2 kB / 449.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.8719, allocations: 130.8 kB / 450 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.8719, allocations: 16.44 kB / 450 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.8719, allocations: 23.94 kB / 450 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.8722, allocations: 338.2 kB / 450.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8722, allocations: 3.938 kB / 450.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.8722, allocations: 11.56 kB / 450.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.8722, allocations: 18.83 kB / 450.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.8724, allocations: 271.3 kB / 450.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.8732, allocations: 0.8525 MB / 451.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/0.8732, allocations: 99.62 kB / 451.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.8733, allocations: 73.47 kB / 451.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.8737, allocations: 0.5013 MB / 452.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.8737, allocations: 38.5 kB / 452.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.133e-06/0.8737, allocations: 0 / 452.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002573/0.8739, allocations: 183 kB / 452.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.874, allocations: 81.11 kB / 452.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.874, allocations: 105.5 kB / 452.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.874, allocations: 33.64 kB / 452.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.8741, allocations: 164.1 kB / 452.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.8741, allocations: 102.5 kB / 452.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.8741, allocations: 41.16 kB / 452.9 MB, free: 1.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.8742, allocations: 322.6 kB / 453.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.8742, allocations: 35.23 kB / 453.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.8742, allocations: 79.69 kB / 453.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.8744, allocations: 149.2 kB / 453.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8744, allocations: 4 kB / 453.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001433/0.8745, allocations: 157.8 kB / 453.6 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.8745, allocations: 4 kB / 453.6 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8745, allocations: 4 kB / 453.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8745, allocations: 0 / 453.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.8746, allocations: 10.91 kB / 453.7 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8746, allocations: 4 kB / 453.7 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.8747, allocations: 23.72 kB / 453.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.8747, allocations: 4.188 kB / 453.7 MB, free: 428 kB / 330.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 7.748e-05/0.8748, allocations: 129.2 kB / 453.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.8748, allocations: 23.77 kB / 453.8 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.8748, allocations: 8.219 kB / 453.8 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8748, allocations: 2.812 kB / 453.8 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8748, allocations: 4 kB / 453.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8748, allocations: 0 / 453.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.875, allocations: 239.9 kB / 454.1 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.875, allocations: 0 / 454.1 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.875, allocations: 8 kB / 454.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.875, allocations: 4.172 kB / 454.1 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.875, allocations: 8 kB / 454.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.875, allocations: 0 / 454.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.875, allocations: 0 / 454.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.8752, allocations: 318.4 kB / 454.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.8753, allocations: 15.89 kB / 454.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.8753, allocations: 0 / 454.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.8753, allocations: 3.812 kB / 454.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.8753, allocations: 7.984 kB / 454.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.8753, allocations: 4 kB / 454.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.8754, allocations: 75.28 kB / 454.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8754, allocations: 0 / 454.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.8756, allocations: 90.47 kB / 454.6 MB, free: 15.54 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.0006008/0.8762, allocations: 0.9488 MB / 455.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.8764, allocations: 208.6 kB / 455.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8764, allocations: 0 / 455.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.8765, allocations: 184 kB / 455.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.8769, allocations: 83.22 kB / 456 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.8777, allocations: 0.564 MB / 456.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.8779, allocations: 195 kB / 456.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.878, allocations: 25.14 kB / 456.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.8781, allocations: 118.6 kB / 456.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.8781, allocations: 4 kB / 456.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.8996, allocations: 9.039 MB / 466 MB, free: 4.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/7.673, allocations: 3.938 kB / 466 MB, free: 4.41 MB / 346.7 MB " [Timeout remaining time 652] (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: 10.292171766981483] Failed to read output from testmodel.py, exit status != 0: 8.004597236402333 8.01388081 7.141180057 Calling exit ...