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.001768/0.001768, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002282/0.002282, allocations: 215.5 kB / 22.25 MB, free: 4.852 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.805 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.01328/0.01328, allocations: 2.8 MB / 315.2 MB, free: 200 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") [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.002144/0.002144, allocations: 71.89 kB / 439.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09329, allocations: 54.17 MB / 493.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.0219/0.1152, allocations: 17.35 MB / 0.4987 GB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2088/0.324, allocations: 5.26 MB / 0.5038 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.3243, allocations: 1.969 kB / 0.5038 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.3249, allocations: 204.2 kB / 0.504 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.328, allocations: 1.173 MB / 0.5052 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3283, allocations: 92.66 kB / 0.5053 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.3287, allocations: 308.6 kB / 0.5056 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.3288, allocations: 12.44 kB / 0.5056 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3289, allocations: 97.23 kB / 0.5057 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.329, allocations: 102.2 kB / 0.5058 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3291, allocations: 10.64 kB / 0.5058 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6129/0.942, allocations: 39.16 MB / 0.544 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.9421, allocations: 26.44 kB / 0.544 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.9423, allocations: 108.6 kB / 0.5441 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.9441, allocations: 0.5157 MB / 0.5446 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9441, allocations: 1.5 kB / 0.5446 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.9441, allocations: 0 / 0.5446 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.9441, allocations: 0 / 0.5446 GB, free: 1.199 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.0005745/0.9447, allocations: 0.4918 MB / 0.5451 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.9447, allocations: 8.031 kB / 0.5451 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.9454, allocations: 205.1 kB / 0.5453 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.9455, allocations: 142.8 kB / 0.5455 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.9455, allocations: 16.31 kB / 0.5455 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.9456, allocations: 21.81 kB / 0.5455 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.946, allocations: 348.7 kB / 0.5458 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.946, allocations: 0 / 0.5458 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.9461, allocations: 10.8 kB / 0.5458 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.9461, allocations: 14.73 kB / 0.5459 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.9464, allocations: 273.8 kB / 0.5461 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.9475, allocations: 0.7837 MB / 0.5469 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.9476, allocations: 96.8 kB / 0.547 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.9477, allocations: 75.59 kB / 0.547 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.9482, allocations: 0.501 MB / 0.5475 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.9483, allocations: 40.19 kB / 0.5476 GB, free: 14.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.202e-06/0.9483, allocations: 4 kB / 0.5476 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003544/0.9486, allocations: 185.3 kB / 0.5478 GB, free: 14.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.9487, allocations: 84.39 kB / 0.5478 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.9488, allocations: 113 kB / 0.5479 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.9488, allocations: 25.7 kB / 0.548 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.9489, allocations: 164.1 kB / 0.5481 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.949, allocations: 109.6 kB / 0.5482 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.949, allocations: 43.83 kB / 0.5483 GB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.9492, allocations: 323.5 kB / 0.5486 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.9492, allocations: 33.12 kB / 0.5486 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.9493, allocations: 82.88 kB / 0.5487 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.9495, allocations: 136.8 kB / 0.5488 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9495, allocations: 4 kB / 0.5488 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002411/0.9498, allocations: 156.4 kB / 0.549 GB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.9498, allocations: 7.375 kB / 0.549 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9498, allocations: 4.188 kB / 0.549 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.9498, allocations: 4 kB / 0.549 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.9498, allocations: 12 kB / 0.549 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9498, allocations: 3.984 kB / 0.549 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.9499, allocations: 17.47 kB / 0.549 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.9499, allocations: 4 kB / 0.549 GB, free: 13.6 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.0001278/0.9501, allocations: 141.5 kB / 0.5492 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.9501, allocations: 11.91 kB / 0.5492 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.9501, allocations: 7.719 kB / 0.5492 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9501, allocations: 0 / 0.5492 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9501, allocations: 7.938 kB / 0.5492 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.9501, allocations: 4 kB / 0.5492 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.9504, allocations: 192.5 kB / 0.5494 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9504, allocations: 0 / 0.5494 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.9504, allocations: 4 kB / 0.5494 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9504, allocations: 0 / 0.5494 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.9504, allocations: 7.438 kB / 0.5494 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9505, allocations: 0 / 0.5494 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9505, allocations: 0 / 0.5494 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.9517, allocations: 320.9 kB / 0.5497 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.9518, allocations: 19.77 kB / 0.5497 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.9518, allocations: 3.984 kB / 0.5497 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9519, allocations: 4 kB / 0.5497 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.9519, allocations: 4 kB / 0.5497 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.9519, allocations: 4 kB / 0.5497 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.952, allocations: 75.28 kB / 0.5498 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.952, allocations: 0 / 0.5498 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.9524, allocations: 87.14 kB / 0.5499 GB, free: 12.77 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.0003718/0.9527, allocations: 199.1 kB / 0.5501 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.953, allocations: 208.3 kB / 0.5503 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.953, allocations: 0 / 0.5503 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.9532, allocations: 184.6 kB / 0.5504 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.9539, allocations: 97.47 kB / 0.5505 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.9546, allocations: 0.5096 MB / 0.551 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.9549, allocations: 191 kB / 0.5512 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.955, allocations: 33.11 kB / 0.5512 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.955, allocations: 22.25 kB / 0.5513 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.955, allocations: 0 / 0.5513 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Templates: time 0.01089/0.9659, allocations: 5.227 MB / 0.5564 GB, free: 6.258 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792093439027667] Failed to read output from testmodel.py, exit status != 0: 0.9740132354199886 0.992533689 0.044957093000000004 Calling exit ...