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.00142/0.00142, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001688/0.001688, allocations: 212.5 kB / 23.04 MB, free: 5.074 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.412/1.412, allocations: 230.6 MB / 256.8 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.01229/0.01229, allocations: 2.797 MB / 316 MB, free: 328 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",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.002138/0.002138, allocations: 71.89 kB / 439.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1064, allocations: 54.17 MB / 493.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02264/0.129, allocations: 19.4 MB / 0.501 GB, free: 3.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2092/0.3382, allocations: 6.082 MB / 0.507 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.3385, allocations: 2.359 kB / 0.507 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006537/0.3391, allocations: 259.6 kB / 0.5072 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.3424, allocations: 1.207 MB / 0.5084 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3426, allocations: 80.12 kB / 0.5085 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.3431, allocations: 311.1 kB / 0.5088 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.3432, allocations: 13.38 kB / 0.5088 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3433, allocations: 97.78 kB / 0.5089 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.3435, allocations: 116.6 kB / 0.509 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3435, allocations: 7.656 kB / 0.509 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6618/1.005, allocations: 39.16 MB / 0.5473 GB, free: 48 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/1.005, allocations: 27.8 kB / 0.5473 GB, free: 36 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003947/1.006, allocations: 132.3 kB / 0.5474 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/1.008, allocations: 0.5146 MB / 0.5479 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.008, allocations: 0 / 0.5479 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/1.008, allocations: 0 / 0.5479 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/1.008, allocations: 3.938 kB / 0.5479 GB, free: 15.61 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.001193/1.009, allocations: 0.4981 MB / 0.5484 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.009, allocations: 12.03 kB / 0.5484 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.129e-05/1.01, allocations: 4.688 kB / 0.5484 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/1.01, allocations: 71.2 kB / 0.5485 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/1.01, allocations: 205.5 kB / 0.5487 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.011, allocations: 138.5 kB / 0.5488 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.011, allocations: 19.56 kB / 0.5488 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/1.011, allocations: 27.06 kB / 0.5489 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/1.011, allocations: 339.7 kB / 0.5492 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.011, allocations: 4 kB / 0.5492 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/1.011, allocations: 11.06 kB / 0.5492 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/1.011, allocations: 11.98 kB / 0.5492 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/1.011, allocations: 283.4 kB / 0.5495 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/1.013, allocations: 2.092 MB / 0.5515 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/1.014, allocations: 99 kB / 0.5516 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.014, allocations: 71.06 kB / 0.5517 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/1.014, allocations: 0.5222 MB / 0.5522 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.014, allocations: 34.56 kB / 0.5522 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/1.014, allocations: 0 / 0.5522 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003733/1.015, allocations: 184.4 kB / 0.5524 GB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.015, allocations: 77.11 kB / 0.5525 GB, free: 11.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/1.015, allocations: 105.4 kB / 0.5526 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.015, allocations: 25.7 kB / 0.5526 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/1.015, allocations: 163.6 kB / 0.5528 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/1.015, allocations: 114.5 kB / 0.5529 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/1.015, allocations: 42.08 kB / 0.5529 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/1.015, allocations: 322.3 kB / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/1.015, allocations: 33.67 kB / 0.5532 GB, free: 10.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/1.015, allocations: 81.69 kB / 0.5533 GB, free: 10.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.016, allocations: 145.3 kB / 0.5535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.016, allocations: 0 / 0.5535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002407/1.016, allocations: 152.7 kB / 0.5536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.016, allocations: 8.188 kB / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.016, allocations: 4 kB / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.016, allocations: 0 / 0.5536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/1.016, allocations: 9.562 kB / 0.5536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.016, allocations: 4.078 kB / 0.5536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/1.016, allocations: 19.78 kB / 0.5536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/1.016, allocations: 14.67 kB / 0.5537 GB, free: 10.03 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.000119/1.016, allocations: 132.3 kB / 0.5538 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/1.016, allocations: 7.953 kB / 0.5538 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/1.016, allocations: 20.16 kB / 0.5538 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.016, allocations: 0 / 0.5538 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.016, allocations: 3.984 kB / 0.5538 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.016, allocations: 4 kB / 0.5538 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/1.017, allocations: 251.4 kB / 0.5541 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.017, allocations: 4 kB / 0.5541 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/1.017, allocations: 0 / 0.5541 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.017, allocations: 4 kB / 0.5541 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/1.017, allocations: 0 / 0.5541 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.017, allocations: 0 / 0.5541 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.017, allocations: 7.938 kB / 0.5541 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.018, allocations: 318.2 kB / 0.5544 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/1.018, allocations: 15.84 kB / 0.5544 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/1.018, allocations: 4 kB / 0.5544 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.018, allocations: 4 kB / 0.5544 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.018, allocations: 7.062 kB / 0.5544 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/1.018, allocations: 3.938 kB / 0.5544 GB, free: 9.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/1.018, allocations: 87.27 kB / 0.5545 GB, free: 9.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/1.018, allocations: 0 / 0.5545 GB, free: 9.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004707/1.019, allocations: 86.72 kB / 0.5546 GB, free: 9.121 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.0008787/1.02, allocations: 0.9331 MB / 0.5555 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/1.02, allocations: 213.2 kB / 0.5557 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.02, allocations: 0 / 0.5557 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/1.02, allocations: 173.4 kB / 0.5559 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/1.021, allocations: 95.89 kB / 0.556 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.022, allocations: 0.5915 MB / 0.5565 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/1.022, allocations: 0.7956 MB / 0.5573 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/1.023, allocations: 29.12 kB / 0.5573 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/1.023, allocations: 115.4 kB / 0.5574 GB, free: 6.125 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/1.023, allocations: 4 kB / 0.5574 GB, free: 6.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/1.056, allocations: 8.81 MB / 0.5661 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.67, allocations: 15.84 kB / 0.5661 GB, free: 13.38 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.828246103948914] Failed to read output from testmodel.py, exit status != 0: 13.052936872001737 13.069365486 12.057764978 Calling exit ...