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.001252/0.001252, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001351/0.001351, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01151/0.01151, allocations: 2.797 MB / 312.4 MB, free: 2.348 MB / 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.001983/0.001983, allocations: 70.75 kB / 434.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.08175, allocations: 54.12 MB / 488.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01468/0.09642, allocations: 19.29 MB / 0.4958 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.1021, allocations: 6.084 MB / 0.5017 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1023, allocations: 0 / 0.5017 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.1029, allocations: 258.5 kB / 0.5019 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.1056, allocations: 1.206 MB / 0.5031 GB, free: 5.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1058, allocations: 91.3 kB / 0.5032 GB, free: 5.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1062, allocations: 305.8 kB / 0.5035 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.1063, allocations: 20.73 kB / 0.5035 GB, free: 5.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.1064, allocations: 91.59 kB / 0.5036 GB, free: 5.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1065, allocations: 115.4 kB / 0.5037 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1066, allocations: 11.94 kB / 0.5037 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6492/0.7558, allocations: 39.04 MB / 0.5419 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.7559, allocations: 35.78 kB / 0.5419 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.7561, allocations: 123.4 kB / 0.542 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.7577, allocations: 0.5178 MB / 0.5425 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7578, allocations: 0 / 0.5425 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7578, allocations: 0 / 0.5425 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.7578, allocations: 4 kB / 0.5425 GB, free: 14.14 MB / 414.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.0007816/0.7585, allocations: 0.5686 MB / 0.5431 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7586, allocations: 11.98 kB / 0.5431 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.572e-05/0.7586, allocations: 8.75 kB / 0.5431 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.7587, allocations: 74.7 kB / 0.5432 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/0.7594, allocations: 200.5 kB / 0.5434 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7596, allocations: 200 kB / 0.5435 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.7596, allocations: 20.5 kB / 0.5436 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.7597, allocations: 24 kB / 0.5436 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.7602, allocations: 337.6 kB / 0.5439 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7602, allocations: 0 / 0.5439 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.7602, allocations: 12 kB / 0.5439 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.7602, allocations: 7.984 kB / 0.5439 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.7606, allocations: 264.3 kB / 0.5442 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.7625, allocations: 2.122 MB / 0.5463 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.7626, allocations: 97.19 kB / 0.5463 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.7627, allocations: 69.75 kB / 0.5464 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.7634, allocations: 0.6931 MB / 0.5471 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7634, allocations: 34.56 kB / 0.5471 GB, free: 8.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.7634, allocations: 0 / 0.5471 GB, free: 8.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003795/0.7638, allocations: 197.8 kB / 0.5473 GB, free: 8.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.7639, allocations: 77.11 kB / 0.5474 GB, free: 8.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.764, allocations: 109.8 kB / 0.5475 GB, free: 8.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.764, allocations: 25.7 kB / 0.5475 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.7641, allocations: 164.4 kB / 0.5477 GB, free: 8.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.7641, allocations: 115 kB / 0.5478 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.7642, allocations: 37.7 kB / 0.5478 GB, free: 8.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7644, allocations: 326.8 kB / 0.5481 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.7644, allocations: 31.98 kB / 0.5482 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.7645, allocations: 73.14 kB / 0.5482 GB, free: 7.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.7647, allocations: 141 kB / 0.5484 GB, free: 7.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7647, allocations: 0 / 0.5484 GB, free: 7.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002505/0.765, allocations: 161.8 kB / 0.5485 GB, free: 7.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.765, allocations: 4.188 kB / 0.5485 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.765, allocations: 7.984 kB / 0.5485 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.765, allocations: 4 kB / 0.5485 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.7651, allocations: 8 kB / 0.5485 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7651, allocations: 4 kB / 0.5485 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.7652, allocations: 23.72 kB / 0.5486 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.7652, allocations: 8 kB / 0.5486 GB, free: 7.277 MB / 414.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.000114/0.7653, allocations: 125.8 kB / 0.5487 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.7653, allocations: 11.91 kB / 0.5487 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.7654, allocations: 20.42 kB / 0.5487 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7654, allocations: 0 / 0.5487 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7654, allocations: 4 kB / 0.5487 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.7654, allocations: 3.938 kB / 0.5487 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009673/0.7664, allocations: 289.6 kB / 0.549 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.7664, allocations: 0 / 0.549 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.7664, allocations: 4 kB / 0.549 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7664, allocations: 0 / 0.549 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.7664, allocations: 4 kB / 0.549 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7664, allocations: 0 / 0.549 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7664, allocations: 0 / 0.549 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7681, allocations: 323.1 kB / 0.5493 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.7682, allocations: 92.98 kB / 0.5494 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7682, allocations: 0 / 0.5494 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7683, allocations: 0 / 0.5494 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.7684, allocations: 7.938 kB / 0.5494 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.7684, allocations: 4 kB / 0.5494 GB, free: 6.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.284e-05/0.7684, allocations: 87.52 kB / 0.5495 GB, free: 6.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7684, allocations: 0 / 0.5495 GB, free: 6.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.7689, allocations: 91.66 kB / 0.5496 GB, free: 6.137 MB / 414.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.00103/0.77, allocations: 0.9246 MB / 0.5505 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.7704, allocations: 216 kB / 0.5507 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7704, allocations: 0 / 0.5507 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.7705, allocations: 177.4 kB / 0.5509 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.7713, allocations: 91.83 kB / 0.551 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7723, allocations: 0.5905 MB / 0.5515 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.7728, allocations: 0.7956 MB / 0.5523 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.7729, allocations: 25.19 kB / 0.5523 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.7731, allocations: 115.4 kB / 0.5524 GB, free: 3.086 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7731, allocations: 0 / 0.5524 GB, free: 3.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.7986, allocations: 8.228 MB / 0.5605 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.405, allocations: 11.92 kB / 0.5605 GB, free: 10.88 MB / 430.1 MB " [Timeout remaining time 650] (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: 12.601981282990891] Failed to read output from testmodel.py, exit status != 0: 9.757149527024012 9.783215434 9.020686694 Calling exit ...