Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 104.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.01297/0.01297, allocations: 2.799 MB / 305.5 MB, free: 7.008 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.89 kB / 425 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 52.95 MB / 478 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02207/0.1251, allocations: 19.21 MB / 497.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.1315, allocations: 6.092 MB / 0.4915 GB, free: 7.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.1318, allocations: 0 / 0.4915 GB, free: 7.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.1325, allocations: 250.5 kB / 0.4917 GB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.1355, allocations: 1.214 MB / 0.4929 GB, free: 6.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1359, allocations: 83.38 kB / 0.493 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.1363, allocations: 305.8 kB / 0.4933 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.1364, allocations: 16.69 kB / 0.4933 GB, free: 5.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1365, allocations: 99.52 kB / 0.4934 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1366, allocations: 107.5 kB / 0.4935 GB, free: 5.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1367, allocations: 12 kB / 0.4935 GB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8199/0.9566, allocations: 39.11 MB / 0.5317 GB, free: 21.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.9566, allocations: 30.64 kB / 0.5317 GB, free: 21.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.9569, allocations: 133.6 kB / 0.5318 GB, free: 21.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.9587, allocations: 0.5071 MB / 0.5323 GB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9587, allocations: 0 / 0.5323 GB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.9587, allocations: 0.8906 kB / 0.5323 GB, free: 21.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.9587, allocations: 4 kB / 0.5323 GB, free: 21.18 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.0005601/0.9593, allocations: 0.5676 MB / 0.5329 GB, free: 20.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9593, allocations: 9.516 kB / 0.5329 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.9594, allocations: 69.48 kB / 0.533 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/0.9601, allocations: 202.9 kB / 0.5332 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.9602, allocations: 191.7 kB / 0.5334 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.9603, allocations: 18.78 kB / 0.5334 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.9603, allocations: 27 kB / 0.5334 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.9612, allocations: 342.8 kB / 0.5337 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9612, allocations: 0 / 0.5337 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.9613, allocations: 8.094 kB / 0.5337 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.9613, allocations: 13.36 kB / 0.5337 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.9616, allocations: 258.8 kB / 0.534 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.9628, allocations: 2.127 MB / 0.5361 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.963, allocations: 100.8 kB / 0.5362 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.963, allocations: 72.36 kB / 0.5362 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.9635, allocations: 0.6951 MB / 0.5369 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.9635, allocations: 36.11 kB / 0.5369 GB, free: 17.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.9635, allocations: 0 / 0.5369 GB, free: 17.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003343/0.9639, allocations: 190.4 kB / 0.5371 GB, free: 17.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.9639, allocations: 79.59 kB / 0.5372 GB, free: 17.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.964, allocations: 100.2 kB / 0.5373 GB, free: 17.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.964, allocations: 25.7 kB / 0.5373 GB, free: 17.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.964, allocations: 170.2 kB / 0.5375 GB, free: 17.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.9641, allocations: 105.8 kB / 0.5376 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.9641, allocations: 40.2 kB / 0.5376 GB, free: 17.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.9642, allocations: 331.5 kB / 0.5379 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.9642, allocations: 33.98 kB / 0.538 GB, free: 16.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.9643, allocations: 87.53 kB / 0.5381 GB, free: 16.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.9645, allocations: 143.1 kB / 0.5382 GB, free: 16.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9645, allocations: 1.375 kB / 0.5382 GB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002051/0.9647, allocations: 162.2 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9647, allocations: 5.5 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9647, allocations: 4.188 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9647, allocations: 1.375 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.9648, allocations: 9.625 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9648, allocations: 5.562 kB / 0.5384 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.9649, allocations: 21.34 kB / 0.5384 GB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.9649, allocations: 8.125 kB / 0.5384 GB, free: 16.72 MB / 382.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 8.13e-05/0.965, allocations: 141.5 kB / 0.5385 GB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.965, allocations: 8.078 kB / 0.5385 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.965, allocations: 11.12 kB / 0.5386 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.965, allocations: 1.375 kB / 0.5386 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.965, allocations: 0 / 0.5386 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.965, allocations: 1.375 kB / 0.5386 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.9653, allocations: 285.3 kB / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9653, allocations: 0 / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.9653, allocations: 2.75 kB / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9653, allocations: 1.375 kB / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.9654, allocations: 6.375 kB / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9654, allocations: 0 / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9654, allocations: 1.375 kB / 0.5388 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.9667, allocations: 318.7 kB / 0.5391 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.9667, allocations: 96.45 kB / 0.5392 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.9668, allocations: 1.375 kB / 0.5392 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.9669, allocations: 3.938 kB / 0.5392 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.9669, allocations: 6.062 kB / 0.5393 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.9669, allocations: 2.75 kB / 0.5393 GB, free: 16.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.653e-05/0.9669, allocations: 87.23 kB / 0.5393 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9669, allocations: 0 / 0.5393 GB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.9674, allocations: 83.06 kB / 0.5394 GB, free: 15.96 MB / 382.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.0006728/0.9681, allocations: 0.9288 MB / 0.5403 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.9684, allocations: 208.5 kB / 0.5405 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9684, allocations: 4.062 kB / 0.5405 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.9685, allocations: 175.2 kB / 0.5407 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.9692, allocations: 88.38 kB / 0.5408 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.9702, allocations: 0.5892 MB / 0.5414 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.9704, allocations: 0.7967 MB / 0.5421 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.9706, allocations: 27.05 kB / 0.5422 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.9707, allocations: 119.8 kB / 0.5423 GB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.9707, allocations: 0 / 0.5423 GB, free: 13.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/1.002, allocations: 8.189 MB / 0.5503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/9.6, allocations: 0 / 0.5503 GB, free: 10.8 MB / 382.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.696456697769463] Failed to read output from testmodel.py, exit status != 0: 9.894816985353827 9.90511549 8.944086796 Calling exit ...