Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001901/0.001901, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002457/0.002457, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01235/0.01235, allocations: 1.992 MB / 261.6 MB, free: 11.1 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.279e-05, allocations: 4.984 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01271/0.01273, allocations: 17.28 MB / 348.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006551/0.01928, allocations: 5.266 MB / 354.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.01949, allocations: 4 kB / 354.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.02016, allocations: 206.6 kB / 354.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.02371, allocations: 1.225 MB / 355.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.02404, allocations: 87.36 kB / 355.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.02459, allocations: 329.4 kB / 356 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.02466, allocations: 16.92 kB / 356 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.02489, allocations: 139.6 kB / 356.2 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.02506, allocations: 87.77 kB / 356.3 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.02509, allocations: 8 kB / 356.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167/1.192, allocations: 64.25 MB / 420.5 MB, free: 71.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/1.192, allocations: 30.3 kB / 420.5 MB, free: 71.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/1.192, allocations: 83.81 kB / 420.6 MB, free: 71.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/1.193, allocations: 0.5137 MB / 421.1 MB, free: 71.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.193, allocations: 0 / 421.1 MB, free: 71.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.193, allocations: 3.969 kB / 421.1 MB, free: 71.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/1.193, allocations: 1.641 kB / 421.1 MB, free: 71.66 MB / 330.7 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.0005148/1.194, allocations: 497.3 kB / 421.6 MB, free: 71.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.194, allocations: 10.88 kB / 421.6 MB, free: 71.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/1.195, allocations: 432.9 kB / 422.1 MB, free: 71.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/1.195, allocations: 129.1 kB / 422.2 MB, free: 71.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.195, allocations: 14.91 kB / 422.2 MB, free: 71.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/1.195, allocations: 22.44 kB / 422.2 MB, free: 71.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/1.195, allocations: 349.5 kB / 422.6 MB, free: 71.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.195, allocations: 0 / 422.6 MB, free: 71.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.195, allocations: 17.41 kB / 422.6 MB, free: 71.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.195, allocations: 15.38 kB / 422.6 MB, free: 71.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/1.195, allocations: 270.4 kB / 422.9 MB, free: 71.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/1.196, allocations: 0.7995 MB / 423.7 MB, free: 70.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.196, allocations: 95.59 kB / 423.8 MB, free: 70.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/1.197, allocations: 71.86 kB / 423.8 MB, free: 70.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/1.197, allocations: 0.5058 MB / 424.3 MB, free: 70.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/1.197, allocations: 39.33 kB / 424.4 MB, free: 70.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/1.197, allocations: 0 / 424.4 MB, free: 70.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003297/1.197, allocations: 185.4 kB / 424.6 MB, free: 70.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.197, allocations: 83.67 kB / 424.6 MB, free: 70.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/1.197, allocations: 105.3 kB / 424.7 MB, free: 69.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/1.197, allocations: 29.77 kB / 424.8 MB, free: 69.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/1.197, allocations: 158.1 kB / 424.9 MB, free: 69.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/1.197, allocations: 108.7 kB / 425 MB, free: 69.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/1.198, allocations: 36.41 kB / 425.1 MB, free: 69.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/1.198, allocations: 323.5 kB / 425.4 MB, free: 69.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/1.198, allocations: 36.64 kB / 425.4 MB, free: 69.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/1.198, allocations: 81.16 kB / 425.5 MB, free: 69.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/1.198, allocations: 141.4 kB / 425.6 MB, free: 69.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.198, allocations: 0 / 425.6 MB, free: 69.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001828/1.198, allocations: 174.6 kB / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.198, allocations: 10.94 kB / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.198, allocations: 0 / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.198, allocations: 2.875 kB / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/1.198, allocations: 10.84 kB / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.198, allocations: 2.281 kB / 425.8 MB, free: 69.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/1.198, allocations: 17.31 kB / 425.8 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.198, allocations: 7.625 kB / 425.9 MB, free: 69.25 MB / 330.7 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 7.732e-05/1.198, allocations: 133.1 kB / 426 MB, free: 69.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/1.198, allocations: 11.36 kB / 426 MB, free: 69.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/1.198, allocations: 19.91 kB / 426 MB, free: 69.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.198, allocations: 0 / 426 MB, free: 69.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.198, allocations: 0 / 426 MB, free: 69.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/1.198, allocations: 3.594 kB / 426 MB, free: 69.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/1.199, allocations: 190.4 kB / 426.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.199, allocations: 0 / 426.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/1.199, allocations: 2.625 kB / 426.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.199, allocations: 9.719 kB / 426.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.199, allocations: 7 kB / 426.2 MB, free: 68.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.199, allocations: 0 / 426.2 MB, free: 68.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.199, allocations: 0 / 426.2 MB, free: 68.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/1.199, allocations: 307.2 kB / 426.5 MB, free: 68.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/1.199, allocations: 24.73 kB / 426.5 MB, free: 68.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.199, allocations: 2.922 kB / 426.5 MB, free: 68.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.199, allocations: 2.469 kB / 426.5 MB, free: 68.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/1.199, allocations: 6.688 kB / 426.6 MB, free: 68.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/1.199, allocations: 2.938 kB / 426.6 MB, free: 68.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.991e-05/1.199, allocations: 80.22 kB / 426.6 MB, free: 68.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/1.199, allocations: 4 kB / 426.6 MB, free: 68.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003914/1.199, allocations: 86.75 kB / 426.7 MB, free: 68.65 MB / 330.7 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.0003773/1.2, allocations: 189.3 kB / 426.9 MB, free: 68.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002554/1.2, allocations: 210.7 kB / 427.1 MB, free: 68.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.2, allocations: 1.188 kB / 427.1 MB, free: 68.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/1.2, allocations: 183.1 kB / 427.3 MB, free: 68.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/1.201, allocations: 85.27 kB / 427.4 MB, free: 68.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/1.201, allocations: 0.4993 MB / 427.9 MB, free: 68.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/1.201, allocations: 192.2 kB / 428.1 MB, free: 67.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/1.202, allocations: 26.95 kB / 428.1 MB, free: 67.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/1.202, allocations: 24.34 kB / 428.1 MB, free: 67.93 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/1.202, allocations: 0 / 428.1 MB, free: 67.93 MB / 330.7 MB Notification: Performance of Templates: time 0.008603/1.21, allocations: 4.648 MB / 432.8 MB, free: 66.31 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.542402955004945]