Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0008533/0.0008533, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.00202, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000924/0.000924, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002105, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8799/0.8799, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07377/0.9536, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.006816/0.006816, allocations: 1.992 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.008456, allocations: 1.231 MB / 247.2 MB, free: 11.65 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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.247e-05, allocations: 2.312 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01033/0.01034, allocations: 9.656 MB / 258.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.01354, allocations: 3.188 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.01362, allocations: 0 / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.01384, allocations: 103.3 kB / 261.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.01513, allocations: 0.6942 MB / 262.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.01533, allocations: 87.3 kB / 262.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.01566, allocations: 344.3 kB / 262.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.01572, allocations: 14.91 kB / 262.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.01587, allocations: 143.6 kB / 262.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.016, allocations: 87.7 kB / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.01602, allocations: 12 kB / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7078/0.7238, allocations: 21.56 MB / 284.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.7238, allocations: 21.67 kB / 284.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.724, allocations: 78.7 kB / 284.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.7248, allocations: 325 kB / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.7248, allocations: 0 / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7248, allocations: 0 / 284.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.7248, allocations: 1.25 kB / 284.8 MB, free: 12.6 MB / 266.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.000462/0.7253, allocations: 0.512 MB / 285.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.7253, allocations: 8.906 kB / 285.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/0.7259, allocations: 0.4937 MB / 285.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.726, allocations: 131.8 kB / 285.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.726, allocations: 17.28 kB / 285.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.726, allocations: 23.62 kB / 285.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.7262, allocations: 222.6 kB / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7262, allocations: 1.25 kB / 286.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7262, allocations: 13.94 kB / 286.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.7263, allocations: 12.98 kB / 286.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.7263, allocations: 101.4 kB / 286.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.7269, allocations: 0.6616 MB / 286.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.727, allocations: 68.7 kB / 287 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.727, allocations: 35.59 kB / 287.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.7273, allocations: 453.8 kB / 287.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.7273, allocations: 40.48 kB / 287.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 9.52e-07/0.7273, allocations: 0 / 287.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001744/0.7275, allocations: 132.9 kB / 287.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.7275, allocations: 78.42 kB / 287.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.654e-05/0.7276, allocations: 110.8 kB / 287.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.7276, allocations: 26.67 kB / 287.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.7276, allocations: 161.8 kB / 288 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.7276, allocations: 113.9 kB / 288.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7277, allocations: 39.53 kB / 288.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.7277, allocations: 323.7 kB / 288.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.7277, allocations: 13.73 kB / 288.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.7278, allocations: 62 kB / 288.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.7278, allocations: 105.4 kB / 288.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7278, allocations: 5.312 kB / 288.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001166/0.7279, allocations: 116.8 kB / 288.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.728, allocations: 10.27 kB / 288.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.728, allocations: 1.125 kB / 288.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.728, allocations: 2.25 kB / 288.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.728, allocations: 11.22 kB / 288.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.728, allocations: 1.953 kB / 288.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.7281, allocations: 16.89 kB / 288.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.7281, allocations: 7.406 kB / 288.8 MB, free: 10.2 MB / 266.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 5.122e-05/0.7281, allocations: 120 kB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.7282, allocations: 9.062 kB / 289 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.7282, allocations: 10.83 kB / 289 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7282, allocations: 1.094 kB / 289 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.7282, allocations: 1.203 kB / 289 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7282, allocations: 1.406 kB / 289 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.7283, allocations: 135.9 kB / 289.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7283, allocations: 0.5625 kB / 289.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.7284, allocations: 5.344 kB / 289.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.7284, allocations: 16.94 kB / 289.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7284, allocations: 5.594 kB / 289.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.7284, allocations: 4.594 kB / 289.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7284, allocations: 1.891 kB / 289.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7284, allocations: 3.984 kB / 289.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.7285, allocations: 275.9 kB / 289.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.7285, allocations: 1.75 kB / 289.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.7286, allocations: 5.734 kB / 289.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.7286, allocations: 3.766 kB / 289.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.7286, allocations: 1.031 kB / 289.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.003e-05/0.7286, allocations: 9.609 kB / 289.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7286, allocations: 0 / 289.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.7288, allocations: 91.83 kB / 289.5 MB, free: 9.727 MB / 266.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.000294/0.7291, allocations: 173.2 kB / 289.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.7293, allocations: 190.1 kB / 289.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7293, allocations: 2.219 kB / 289.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.7293, allocations: 173.4 kB / 290.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.7297, allocations: 98.95 kB / 290.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.7326, allocations: 0.5151 MB / 290.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.7326, allocations: 103.5 kB / 290.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.7327, allocations: 34.38 kB / 290.8 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.7328, allocations: 111.3 kB / 290.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7328, allocations: 0 / 290.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of Templates: time 0.006283/0.7391, allocations: 4.846 MB / 295.8 MB, free: 7.906 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7710837172344327]