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.001297/0.001297, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002463/0.002463, allocations: 216.6 kB / 23.03 MB, free: 4.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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.816 MB / 316 MB, free: 104 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.00191/0.00191, allocations: 68.08 kB / 439.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09241, allocations: 54.17 MB / 493.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02092/0.1133, allocations: 17.34 MB / 0.499 GB, free: 5.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.1187, allocations: 5.27 MB / 0.5041 GB, free: 364 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1189, allocations: 0 / 0.5041 GB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.1195, allocations: 210.7 kB / 0.5043 GB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2041/0.3236, allocations: 1.162 MB / 0.5054 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3238, allocations: 84.75 kB / 0.5055 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.3243, allocations: 304.1 kB / 0.5058 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.3243, allocations: 13.92 kB / 0.5058 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3245, allocations: 99.38 kB / 0.5059 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3246, allocations: 116.9 kB / 0.506 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3247, allocations: 8.406 kB / 0.506 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6337/0.9584, allocations: 39.16 MB / 0.5443 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.9585, allocations: 33.31 kB / 0.5443 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.9589, allocations: 113.2 kB / 0.5444 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.9609, allocations: 0.5059 MB / 0.5449 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9609, allocations: 0 / 0.5449 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9609, allocations: 3 kB / 0.5449 GB, free: 1.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.9609, allocations: 0 / 0.5449 GB, free: 1.387 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.0007205/0.9616, allocations: 0.4932 MB / 0.5454 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.9617, allocations: 12.03 kB / 0.5454 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.665e-05/0.9617, allocations: 12.56 kB / 0.5454 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.018e-05/0.9618, allocations: 62.72 kB / 0.5455 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007584/0.9625, allocations: 206.6 kB / 0.5457 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.9626, allocations: 138.3 kB / 0.5458 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.9627, allocations: 14 kB / 0.5458 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.9627, allocations: 29.38 kB / 0.5459 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.9632, allocations: 336.5 kB / 0.5462 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.9632, allocations: 0 / 0.5462 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.9632, allocations: 14.62 kB / 0.5462 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.9632, allocations: 14.61 kB / 0.5462 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.9635, allocations: 279.8 kB / 0.5465 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.9647, allocations: 0.8516 MB / 0.5473 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.9648, allocations: 92.59 kB / 0.5474 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.9649, allocations: 78.47 kB / 0.5475 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.9655, allocations: 0.5007 MB / 0.548 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.9655, allocations: 42.44 kB / 0.548 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.9655, allocations: 0 / 0.548 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003571/0.9659, allocations: 176.4 kB / 0.5482 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.9659, allocations: 87.06 kB / 0.5482 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.966, allocations: 103.9 kB / 0.5483 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.966, allocations: 25.7 kB / 0.5484 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.9661, allocations: 165 kB / 0.5485 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.9662, allocations: 109 kB / 0.5486 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.9663, allocations: 40.55 kB / 0.5487 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9664, allocations: 328.7 kB / 0.549 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.9665, allocations: 32.86 kB / 0.549 GB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.9666, allocations: 80.11 kB / 0.5491 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.9667, allocations: 149.8 kB / 0.5492 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9667, allocations: 4 kB / 0.5492 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002283/0.967, allocations: 161.4 kB / 0.5494 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.967, allocations: 4 kB / 0.5494 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.967, allocations: 4 kB / 0.5494 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.967, allocations: 0 / 0.5494 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.9671, allocations: 11.28 kB / 0.5494 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9671, allocations: 4.078 kB / 0.5494 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.9672, allocations: 23.77 kB / 0.5494 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9672, allocations: 11.92 kB / 0.5494 GB, free: 13.71 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.0001154/0.9673, allocations: 130.9 kB / 0.5496 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.9673, allocations: 7.953 kB / 0.5496 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.9674, allocations: 12.09 kB / 0.5496 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.9674, allocations: 3.984 kB / 0.5496 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9674, allocations: 0 / 0.5496 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9674, allocations: 4 kB / 0.5496 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.9677, allocations: 250.5 kB / 0.5498 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.9677, allocations: 4 kB / 0.5498 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.9677, allocations: 0 / 0.5498 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9677, allocations: 7.938 kB / 0.5498 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.9677, allocations: 4 kB / 0.5499 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9677, allocations: 0 / 0.5499 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9678, allocations: 4 kB / 0.5499 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.9702, allocations: 312.5 kB / 0.5502 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.9702, allocations: 15.84 kB / 0.5502 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.9702, allocations: 3.984 kB / 0.5502 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.9704, allocations: 3.062 kB / 0.5502 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.9704, allocations: 4 kB / 0.5502 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.9704, allocations: 7.938 kB / 0.5502 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.9705, allocations: 79.28 kB / 0.5503 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9705, allocations: 0 / 0.5503 GB, free: 12.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.971, allocations: 95.39 kB / 0.5504 GB, free: 12.83 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.000983/0.972, allocations: 0.9353 MB / 0.5513 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.9723, allocations: 216.8 kB / 0.5515 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9723, allocations: 0 / 0.5515 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.9725, allocations: 177.8 kB / 0.5516 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.9732, allocations: 91.33 kB / 0.5517 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.9743, allocations: 0.5864 MB / 0.5523 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.9746, allocations: 195 kB / 0.5525 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.9747, allocations: 25.12 kB / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.9748, allocations: 117 kB / 0.5526 GB, free: 10.65 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.9748, allocations: 0 / 0.5526 GB, free: 10.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/1.006, allocations: 8.877 MB / 0.5613 GB, free: 1.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.68, allocations: 8.062 kB / 0.5613 GB, free: 1.879 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 & /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.839014997007325] Failed to read output from testmodel.py, exit status != 0: 13.066792525001802 13.084259263 12.12009029 Calling exit ...