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.001244/0.001244, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001351/0.001351, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.8648/0.8648, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.007379/0.007379, allocations: 1.997 MB / 262.2 MB, free: 10.95 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.112e-06/1.112e-06, allocations: 0 / 279.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.217e-05, allocations: 2.312 kB / 279.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1058/0.1058, allocations: 9.6 MB / 289.1 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.108, allocations: 3.175 MB / 292.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.1081, allocations: 1.031 kB / 292.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1083, allocations: 102 kB / 292.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1098, allocations: 0.7038 MB / 293.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.11, allocations: 89.5 kB / 293.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1103, allocations: 329.7 kB / 293.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.1103, allocations: 14.84 kB / 293.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1105, allocations: 144.2 kB / 293.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1106, allocations: 83.02 kB / 293.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1106, allocations: 11.19 kB / 293.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5191/0.6297, allocations: 21.6 MB / 315.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.6298, allocations: 36.84 kB / 315.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.6299, allocations: 87.11 kB / 315.5 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.6309, allocations: 333.8 kB / 315.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6309, allocations: 0 / 315.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6309, allocations: 0 / 315.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.6309, allocations: 0 / 315.8 MB, free: 6.441 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.0003562/0.6313, allocations: 446.8 kB / 316.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6313, allocations: 12 kB / 316.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.6318, allocations: 428.3 kB / 316.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.6319, allocations: 143.6 kB / 316.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6319, allocations: 15.97 kB / 316.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.6319, allocations: 23.31 kB / 316.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.6321, allocations: 224.2 kB / 317.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6321, allocations: 3.938 kB / 317.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6321, allocations: 13.44 kB / 317.1 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.6322, allocations: 8.828 kB / 317.1 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.6322, allocations: 99.38 kB / 317.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.6328, allocations: 0.655 MB / 317.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.961e-05/0.6328, allocations: 58.19 kB / 317.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.6329, allocations: 46.45 kB / 318 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.6331, allocations: 458.3 kB / 318.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.6331, allocations: 41 kB / 318.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.142e-06/0.6331, allocations: 4 kB / 318.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001452/0.6333, allocations: 132.2 kB / 318.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.6333, allocations: 77.11 kB / 318.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.307e-05/0.6333, allocations: 119.6 kB / 318.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-06/0.6334, allocations: 25.7 kB / 318.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.6334, allocations: 166.2 kB / 319 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.6334, allocations: 108.4 kB / 319.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.6335, allocations: 36.86 kB / 319.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.983e-05/0.6335, allocations: 322.2 kB / 319.4 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.6335, allocations: 22.7 kB / 319.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.6335, allocations: 62.03 kB / 319.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.6336, allocations: 103.9 kB / 319.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6336, allocations: 0 / 319.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 8.537e-05/0.6337, allocations: 114.3 kB / 319.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6337, allocations: 11.94 kB / 319.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6337, allocations: 192 / 319.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6337, allocations: 8 kB / 319.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.6338, allocations: 18.2 kB / 319.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.6338, allocations: 4 kB / 319.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.6338, allocations: 15.84 kB / 319.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6338, allocations: 0 / 319.8 MB, free: 3.273 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.261e-05/0.6339, allocations: 112.2 kB / 319.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.6339, allocations: 10.94 kB / 319.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.6339, allocations: 9.531 kB / 319.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6339, allocations: 4 kB / 319.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.6339, allocations: 0 / 319.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6339, allocations: 4 kB / 319.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.634, allocations: 125.3 kB / 320 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.634, allocations: 4 kB / 320 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.634, allocations: 3.938 kB / 320 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.634, allocations: 7.938 kB / 320.1 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.634, allocations: 0 / 320.1 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.634, allocations: 3.938 kB / 320.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.634, allocations: 0 / 320.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.6341, allocations: 277.2 kB / 320.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.6342, allocations: 19.66 kB / 320.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.6342, allocations: 0 / 320.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.6342, allocations: 9.938 kB / 320.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.6342, allocations: 4 kB / 320.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.6342, allocations: 4 kB / 320.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.337e-06/0.6342, allocations: 15.94 kB / 320.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6342, allocations: 0 / 320.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.6344, allocations: 88.34 kB / 320.5 MB, free: 2.59 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.0002719/0.6347, allocations: 157.4 kB / 320.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.6348, allocations: 187.6 kB / 320.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6349, allocations: 4 kB / 320.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.6349, allocations: 167.7 kB / 321 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.6352, allocations: 87.27 kB / 321.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.6358, allocations: 0.5108 MB / 321.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.6359, allocations: 105.2 kB / 321.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.636, allocations: 25.14 kB / 321.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.6361, allocations: 114.8 kB / 321.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6361, allocations: 0 / 321.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of Templates: time 0.006121/0.6422, allocations: 4.684 MB / 326.5 MB, free: 12.62 MB / 282.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7185470568947494]