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.00183/0.00183, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002436/0.002436, allocations: 210 kB / 22.24 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.801 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.01583/0.01583, allocations: 2.807 MB / 315.2 MB, free: 184 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.002002/0.002002, allocations: 63.89 kB / 438.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.1003, allocations: 54.18 MB / 492.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02109/0.1214, allocations: 17.35 MB / 0.4982 GB, free: 5.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.127, allocations: 5.263 MB / 0.5034 GB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1272, allocations: 0 / 0.5034 GB, free: 376 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1278, allocations: 218.6 kB / 0.5036 GB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2007/0.3285, allocations: 1.163 MB / 0.5047 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3288, allocations: 83.52 kB / 0.5048 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.3291, allocations: 301.9 kB / 0.5051 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.3292, allocations: 18.11 kB / 0.5051 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3293, allocations: 93.73 kB / 0.5052 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3294, allocations: 106.1 kB / 0.5053 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3294, allocations: 9.125 kB / 0.5053 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6923/1.022, allocations: 39.17 MB / 0.5435 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/1.022, allocations: 32.61 kB / 0.5436 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/1.022, allocations: 103.2 kB / 0.5437 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/1.025, allocations: 0.5115 MB / 0.5442 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.025, allocations: 0 / 0.5442 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/1.025, allocations: 3.938 kB / 0.5442 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/1.025, allocations: 0 / 0.5442 GB, free: 1.441 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.0007596/1.025, allocations: 0.4963 MB / 0.5446 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.025, allocations: 8.031 kB / 0.5447 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.395e-05/1.025, allocations: 72.27 kB / 0.5447 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/1.026, allocations: 206.3 kB / 0.5449 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.026, allocations: 134.8 kB / 0.5451 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/1.026, allocations: 20.3 kB / 0.5451 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/1.026, allocations: 28.69 kB / 0.5451 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.027, allocations: 342.5 kB / 0.5454 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.027, allocations: 0 / 0.5454 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/1.027, allocations: 11.25 kB / 0.5454 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/1.027, allocations: 8.812 kB / 0.5454 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/1.027, allocations: 273.4 kB / 0.5457 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.029, allocations: 0.8456 MB / 0.5465 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/1.029, allocations: 96.22 kB / 0.5466 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.029, allocations: 75.88 kB / 0.5467 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/1.03, allocations: 0.5166 MB / 0.5472 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.03, allocations: 33.75 kB / 0.5472 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 3.697e-06/1.03, allocations: 3.984 kB / 0.5472 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003888/1.03, allocations: 182.1 kB / 0.5474 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.03, allocations: 82.11 kB / 0.5475 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.03, allocations: 109.2 kB / 0.5476 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.03, allocations: 25.7 kB / 0.5476 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.031, allocations: 164.1 kB / 0.5478 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/1.031, allocations: 101.6 kB / 0.5479 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/1.031, allocations: 40.38 kB / 0.5479 GB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/1.031, allocations: 331.3 kB / 0.5482 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/1.031, allocations: 31.22 kB / 0.5483 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.031, allocations: 84.59 kB / 0.5483 GB, free: 14.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/1.031, allocations: 142.2 kB / 0.5485 GB, free: 13.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.031, allocations: 0 / 0.5485 GB, free: 13.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002539/1.031, allocations: 152 kB / 0.5486 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.031, allocations: 12.19 kB / 0.5486 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.031, allocations: 7.703 kB / 0.5486 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.032, allocations: 4 kB / 0.5486 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/1.032, allocations: 8 kB / 0.5486 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.032, allocations: 0 / 0.5486 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/1.032, allocations: 23.72 kB / 0.5487 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.032, allocations: 11.75 kB / 0.5487 GB, free: 13.8 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.0001277/1.032, allocations: 129.1 kB / 0.5488 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/1.032, allocations: 11.91 kB / 0.5488 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/1.032, allocations: 11.95 kB / 0.5488 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.032, allocations: 8 kB / 0.5488 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.032, allocations: 0 / 0.5488 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.032, allocations: 0 / 0.5488 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/1.032, allocations: 245.6 kB / 0.5491 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.032, allocations: 3.938 kB / 0.5491 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/1.032, allocations: 4 kB / 0.5491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.032, allocations: 3.984 kB / 0.5491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.032, allocations: 3.812 kB / 0.5491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.032, allocations: 4 kB / 0.5491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.032, allocations: 0 / 0.5491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.034, allocations: 315.3 kB / 0.5494 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/1.034, allocations: 15.89 kB / 0.5494 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/1.034, allocations: 0 / 0.5494 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/1.035, allocations: 4 kB / 0.5494 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/1.035, allocations: 6.859 kB / 0.5494 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/1.035, allocations: 4 kB / 0.5494 GB, free: 13.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.907e-05/1.035, allocations: 83.22 kB / 0.5495 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/1.035, allocations: 0 / 0.5495 GB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005012/1.035, allocations: 86.72 kB / 0.5496 GB, free: 12.93 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.001063/1.036, allocations: 0.9392 MB / 0.5505 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003803/1.037, allocations: 214 kB / 0.5507 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.037, allocations: 0 / 0.5507 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/1.037, allocations: 180.5 kB / 0.5509 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/1.038, allocations: 89.94 kB / 0.551 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.039, allocations: 0.5882 MB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/1.039, allocations: 195 kB / 0.5517 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000124/1.039, allocations: 29.12 kB / 0.5517 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.039, allocations: 121 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/1.039, allocations: 0 / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/1.078, allocations: 8.923 MB / 0.5606 GB, free: 1.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.33, allocations: 14.41 kB / 0.5606 GB, free: 1.918 MB / 398.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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.504394839983433] Failed to read output from testmodel.py, exit status != 0: 12.65351043222472 12.674226866 11.645921818 Calling exit ...