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.00106/0.00106, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009869/0.0009869, allocations: 173 kB / 24.06 MB, free: 460 kB / 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.9749/0.9749, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.009039/0.009039, allocations: 1.985 MB / 263 MB, free: 10.9 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.403e-06/1.403e-06, allocations: 0 / 333.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.887e-05, allocations: 6.25 kB / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.006049/0.006068, allocations: 9.555 MB / 343.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.007521, allocations: 3.145 MB / 346.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.0076, allocations: 0 / 346.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.00782, allocations: 103.3 kB / 346.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.009066, allocations: 0.6904 MB / 347.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.009295, allocations: 95.23 kB / 347.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.00954, allocations: 329.4 kB / 347.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.009592, allocations: 12.94 kB / 347.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.009686, allocations: 139.6 kB / 347.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.009771, allocations: 87.7 kB / 347.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.009788, allocations: 8 kB / 347.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5425/0.5523, allocations: 21.5 MB / 369.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.5523, allocations: 31.78 kB / 369.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.5525, allocations: 95.73 kB / 369.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.5533, allocations: 326.9 kB / 369.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5533, allocations: 0 / 369.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5533, allocations: 0 / 369.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.5533, allocations: 0 / 369.7 MB, free: 14.56 MB / 298.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.0004866/0.5538, allocations: 0.5778 MB / 370.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5538, allocations: 8.031 kB / 370.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.5544, allocations: 420.1 kB / 370.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.5545, allocations: 132.3 kB / 370.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5545, allocations: 20.88 kB / 370.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.5546, allocations: 20.38 kB / 370.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.5548, allocations: 231.1 kB / 371.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5548, allocations: 0 / 371.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5548, allocations: 8 kB / 371.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5548, allocations: 12 kB / 371.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.5549, allocations: 87.95 kB / 371.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.5556, allocations: 0.8436 MB / 372 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.5556, allocations: 86.14 kB / 372.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.5557, allocations: 59.34 kB / 372.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.5561, allocations: 0.6663 MB / 372.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.5561, allocations: 33.39 kB / 372.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 9.42e-07/0.5561, allocations: 0 / 372.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001992/0.5563, allocations: 162.3 kB / 373 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5563, allocations: 81.05 kB / 373.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.5564, allocations: 169.9 kB / 373.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5564, allocations: 25.7 kB / 373.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.5565, allocations: 207.2 kB / 373.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.5565, allocations: 110.9 kB / 373.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.5566, allocations: 43.39 kB / 373.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5567, allocations: 0.5001 MB / 374.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.5567, allocations: 19.98 kB / 374.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.5567, allocations: 82.08 kB / 374.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.5568, allocations: 125.9 kB / 374.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5568, allocations: 0 / 374.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001282/0.5569, allocations: 161.7 kB / 374.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.557, allocations: 8 kB / 374.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.557, allocations: 3.984 kB / 374.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.557, allocations: 4 kB / 374.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.557, allocations: 8 kB / 374.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.557, allocations: 0 / 374.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.5571, allocations: 19.84 kB / 374.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5571, allocations: 8.188 kB / 374.6 MB, free: 9.359 MB / 298.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.41e-05/0.5571, allocations: 164.5 kB / 374.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.5572, allocations: 11.89 kB / 374.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.5572, allocations: 24.52 kB / 374.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5572, allocations: 0 / 374.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.5572, allocations: 0 / 374.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5572, allocations: 4 kB / 374.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.5574, allocations: 172.8 kB / 375 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5574, allocations: 0 / 375 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.5574, allocations: 4 kB / 375 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.5574, allocations: 0 / 375 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.5574, allocations: 7.938 kB / 375 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.5574, allocations: 0 / 375 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5574, allocations: 3.938 kB / 375 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5576, allocations: 403 kB / 375.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.5576, allocations: 15.84 kB / 375.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.5576, allocations: 7.922 kB / 375.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.5577, allocations: 0 / 375.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5577, allocations: 4 kB / 375.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5577, allocations: 4 kB / 375.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.5577, allocations: 119.2 kB / 375.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5577, allocations: 4 kB / 375.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000253/0.558, allocations: 87.7 kB / 375.6 MB, free: 8.281 MB / 298.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.0002832/0.5582, allocations: 175.8 kB / 375.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.5584, allocations: 192.3 kB / 376 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5584, allocations: 4 kB / 376 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.5585, allocations: 184.9 kB / 376.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.5589, allocations: 84.34 kB / 376.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.5596, allocations: 0.5215 MB / 376.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.5596, allocations: 105.2 kB / 376.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.779e-05/0.5597, allocations: 21.12 kB / 376.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5598, allocations: 142.2 kB / 377 MB, free: 6.785 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5598, allocations: 0 / 377 MB, free: 6.785 MB / 298.7 MB Notification: Performance of Templates: time 0.006341/0.5662, allocations: 4.794 MB / 381.8 MB, free: 1.984 MB / 298.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.992455466184765]