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.001423/0.001423, allocations: 113 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.001586/0.001586, allocations: 210.1 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.031 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.0129/0.0129, allocations: 2.801 MB / 315.2 MB, free: 332 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_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: 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.002058/0.002058, allocations: 71.83 kB / 438.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 54.17 MB / 492.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.0227/0.1261, allocations: 19.41 MB / 0.5003 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2322/0.3583, allocations: 6.083 MB / 0.5062 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.3586, allocations: 1 kB / 0.5062 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.3593, allocations: 253.3 kB / 0.5065 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.3627, allocations: 1.21 MB / 0.5076 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.363, allocations: 88.62 kB / 0.5077 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.3635, allocations: 308.2 kB / 0.508 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.3636, allocations: 12.89 kB / 0.508 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3637, allocations: 95.48 kB / 0.5081 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3639, allocations: 110.8 kB / 0.5082 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3639, allocations: 10.88 kB / 0.5082 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7074/1.071, allocations: 39.16 MB / 0.5465 GB, free: 40 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/1.071, allocations: 33.62 kB / 0.5465 GB, free: 24 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/1.072, allocations: 130.4 kB / 0.5466 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/1.075, allocations: 0.5152 MB / 0.5471 GB, free: 15.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.075, allocations: 0 / 0.5471 GB, free: 15.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/1.075, allocations: 0 / 0.5471 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/1.075, allocations: 0 / 0.5471 GB, free: 15.62 MB / 398.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.000828/1.075, allocations: 0.5036 MB / 0.5476 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.075, allocations: 12.03 kB / 0.5477 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.684e-05/1.076, allocations: 63.91 kB / 0.5477 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/1.076, allocations: 203.8 kB / 0.5479 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.077, allocations: 135.9 kB / 0.548 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/1.077, allocations: 19.61 kB / 0.5481 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/1.077, allocations: 25.19 kB / 0.5481 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/1.077, allocations: 336.2 kB / 0.5484 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.077, allocations: 4 kB / 0.5484 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/1.077, allocations: 10.56 kB / 0.5484 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/1.077, allocations: 14.98 kB / 0.5484 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/1.077, allocations: 279.2 kB / 0.5487 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/1.08, allocations: 2.09 MB / 0.5507 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/1.08, allocations: 104.4 kB / 0.5508 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/1.08, allocations: 75.69 kB / 0.5509 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/1.08, allocations: 0.5149 MB / 0.5514 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.08, allocations: 38 kB / 0.5514 GB, free: 11.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/1.08, allocations: 0 / 0.5514 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003638/1.081, allocations: 180.6 kB / 0.5516 GB, free: 11.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.081, allocations: 85.17 kB / 0.5517 GB, free: 11.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/1.081, allocations: 112.8 kB / 0.5518 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.081, allocations: 25.7 kB / 0.5518 GB, free: 11.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/1.081, allocations: 155.4 kB / 0.552 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/1.081, allocations: 111.3 kB / 0.5521 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/1.081, allocations: 39.41 kB / 0.5521 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/1.081, allocations: 329.8 kB / 0.5524 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/1.081, allocations: 27.94 kB / 0.5525 GB, free: 10.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/1.081, allocations: 89.62 kB / 0.5526 GB, free: 10.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/1.082, allocations: 141.2 kB / 0.5527 GB, free: 10.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.082, allocations: 4 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002432/1.082, allocations: 150.7 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.082, allocations: 4 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.082, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.082, allocations: 0 / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/1.082, allocations: 15.94 kB / 0.5529 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.082, allocations: 3.984 kB / 0.5529 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/1.082, allocations: 19.78 kB / 0.5529 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.082, allocations: 8.188 kB / 0.5529 GB, free: 10.05 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.0001288/1.082, allocations: 132.5 kB / 0.553 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/1.082, allocations: 7.953 kB / 0.553 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/1.082, allocations: 7.594 kB / 0.553 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.082, allocations: 0 / 0.553 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.082, allocations: 4 kB / 0.553 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.082, allocations: 192 / 0.553 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/1.083, allocations: 260.6 kB / 0.5533 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.083, allocations: 3.984 kB / 0.5533 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/1.083, allocations: 7.938 kB / 0.5533 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.083, allocations: 4 kB / 0.5533 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.083, allocations: 0 / 0.5533 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.083, allocations: 3.984 kB / 0.5533 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.083, allocations: 4 kB / 0.5533 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.085, allocations: 306.6 kB / 0.5536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/1.085, allocations: 19.84 kB / 0.5536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.085, allocations: 7.938 kB / 0.5536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.085, allocations: 0 / 0.5536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/1.085, allocations: 7.984 kB / 0.5536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/1.085, allocations: 7.938 kB / 0.5536 GB, free: 9.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.941e-05/1.085, allocations: 86.72 kB / 0.5537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 0.5537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004488/1.085, allocations: 87.66 kB / 0.5538 GB, free: 9.145 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.001068/1.086, allocations: 0.9332 MB / 0.5547 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/1.087, allocations: 205.1 kB / 0.5549 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.087, allocations: 0 / 0.5549 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/1.087, allocations: 185.7 kB / 0.5551 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/1.088, allocations: 91.66 kB / 0.5552 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/1.089, allocations: 0.5892 MB / 0.5557 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.089, allocations: 0.8034 MB / 0.5565 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/1.089, allocations: 21.14 kB / 0.5566 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.091, allocations: 119.4 kB / 0.5567 GB, free: 6.133 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/1.091, allocations: 0 / 0.5567 GB, free: 6.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/1.13, allocations: 8.784 MB / 0.5652 GB, free: 13.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.61, allocations: 10.62 kB / 0.5653 GB, free: 13.42 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.918782392051071] Failed to read output from testmodel.py, exit status != 0: 12.949565480928868 12.980361894 11.899825203 Calling exit ...