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.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.001352/0.001352, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001571/0.001571, allocations: 220.8 kB / 23.01 MB, free: 4.609 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.01299/0.01299, allocations: 2.799 MB / 316 MB, free: 332 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [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.001998/0.001998, allocations: 75.89 kB / 440 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08989, allocations: 54.16 MB / 494.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02222/0.1121, allocations: 19.4 MB / 0.5015 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1842/0.2963, allocations: 6.08 MB / 0.5074 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.2965, allocations: 1.188 kB / 0.5074 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.2971, allocations: 259.2 kB / 0.5077 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.2998, allocations: 1.202 MB / 0.5089 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3, allocations: 89.52 kB / 0.5089 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3003, allocations: 307.5 kB / 0.5092 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.3004, allocations: 15.64 kB / 0.5093 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.3005, allocations: 97.38 kB / 0.5093 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3006, allocations: 114.3 kB / 0.5095 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3007, allocations: 7.969 kB / 0.5095 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5879/0.8886, allocations: 39.17 MB / 0.5477 GB, free: 364 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.8886, allocations: 27.58 kB / 0.5477 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.889, allocations: 136.8 kB / 0.5479 GB, free: 232 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.8911, allocations: 0.5077 MB / 0.5484 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8911, allocations: 4 kB / 0.5484 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8911, allocations: 0 / 0.5484 GB, free: 15.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.8911, allocations: 0 / 0.5484 GB, free: 15.85 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.0006861/0.8918, allocations: 0.5013 MB / 0.5489 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8918, allocations: 8.031 kB / 0.5489 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.8926, allocations: 208.5 kB / 0.5491 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.8932, allocations: 130.2 kB / 0.5492 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.8932, allocations: 15.81 kB / 0.5492 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.8933, allocations: 26.25 kB / 0.5492 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.8938, allocations: 347 kB / 0.5496 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.8938, allocations: 3.984 kB / 0.5496 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.8938, allocations: 6.875 kB / 0.5496 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.8938, allocations: 12 kB / 0.5496 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.8942, allocations: 279.9 kB / 0.5499 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.896, allocations: 2.082 MB / 0.5519 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.8962, allocations: 92.67 kB / 0.552 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.8963, allocations: 79.17 kB / 0.552 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.8969, allocations: 0.5213 MB / 0.5526 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.8969, allocations: 38.17 kB / 0.5526 GB, free: 11.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.303e-06/0.8969, allocations: 0 / 0.5526 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003618/0.8973, allocations: 178.8 kB / 0.5528 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.8973, allocations: 84.09 kB / 0.5528 GB, free: 11.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.8974, allocations: 104.6 kB / 0.5529 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.8974, allocations: 25.7 kB / 0.553 GB, free: 11.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.8975, allocations: 161.1 kB / 0.5531 GB, free: 11.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.8976, allocations: 110.5 kB / 0.5532 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.8977, allocations: 42.59 kB / 0.5533 GB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8978, allocations: 325.7 kB / 0.5536 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.8979, allocations: 37.42 kB / 0.5536 GB, free: 10.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.898, allocations: 89.44 kB / 0.5537 GB, free: 10.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.8981, allocations: 139.5 kB / 0.5538 GB, free: 10.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8981, allocations: 0 / 0.5538 GB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002448/0.8984, allocations: 154 kB / 0.554 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8984, allocations: 8 kB / 0.554 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8984, allocations: 0 / 0.554 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8984, allocations: 4 kB / 0.554 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.8985, allocations: 15.88 kB / 0.554 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8985, allocations: 0 / 0.554 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.8986, allocations: 19.78 kB / 0.554 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.8986, allocations: 8 kB / 0.554 GB, free: 10.34 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.0001157/0.8987, allocations: 136.4 kB / 0.5542 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.8987, allocations: 11.94 kB / 0.5542 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.8988, allocations: 11.34 kB / 0.5542 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.8988, allocations: 4 kB / 0.5542 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8988, allocations: 0 / 0.5542 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8988, allocations: 0 / 0.5542 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.8991, allocations: 253.2 kB / 0.5544 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8991, allocations: 0 / 0.5544 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.8991, allocations: 4 kB / 0.5544 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8992, allocations: 0 / 0.5544 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.8992, allocations: 4 kB / 0.5544 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.8992, allocations: 7.938 kB / 0.5544 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8992, allocations: 0 / 0.5544 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.9005, allocations: 310.7 kB / 0.5547 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.9006, allocations: 19.83 kB / 0.5548 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.9006, allocations: 0 / 0.5548 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9007, allocations: 0 / 0.5548 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.9007, allocations: 12.23 kB / 0.5548 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.9007, allocations: 4 kB / 0.5548 GB, free: 9.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.9008, allocations: 83.25 kB / 0.5549 GB, free: 9.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9008, allocations: 4 kB / 0.5549 GB, free: 9.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.9012, allocations: 95.59 kB / 0.555 GB, free: 9.383 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.0004011/0.9016, allocations: 198.7 kB / 0.5551 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.9019, allocations: 209.5 kB / 0.5553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9019, allocations: 0 / 0.5553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.9021, allocations: 181.5 kB / 0.5555 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.9028, allocations: 82.45 kB / 0.5556 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.9036, allocations: 0.5713 MB / 0.5562 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.9041, allocations: 0.7995 MB / 0.5569 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.9041, allocations: 23.44 kB / 0.557 GB, free: 7.258 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.9041, allocations: 0 / 0.557 GB, free: 7.258 MB / 398.1 MB Notification: Performance of Templates: time 0.00692/0.9111, allocations: 3.731 MB / 0.5606 GB, free: 3.547 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.067974408855662] Failed to read output from testmodel.py, exit status != 0: 0.9191690909210593 0.936621066 0.042183611 Calling exit ...