Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.002506/0.002506, allocations: 85.48 kB / 19.44 MB, free: 336 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.003075/0.003075, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.0132/0.0132, allocations: 1.992 MB / 261.6 MB, free: 11.09 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.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 331.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.405e-05, allocations: 4.422 kB / 331.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.007625/0.007649, allocations: 8.289 MB / 339.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.008238, allocations: 0.9498 MB / 340.8 MB, free: 8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.00826, allocations: 4 kB / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.008499, allocations: 63.58 kB / 340.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.008524, allocations: 23.72 kB / 340.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.008808, allocations: 123.1 kB / 341 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.008882, allocations: 63.53 kB / 341.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.008922, allocations: 0 / 341.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.008977, allocations: 23.97 kB / 341.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.009036, allocations: 15.94 kB / 341.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.009048, allocations: 0 / 341.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1679/0.177, allocations: 22.84 MB / 364 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.177, allocations: 7.922 kB / 364 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.1771, allocations: 19.92 kB / 364 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.1776, allocations: 79.78 kB / 364.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1776, allocations: 3.938 kB / 364.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1776, allocations: 0 / 364.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1776, allocations: 0 / 364.1 MB, free: 2.812 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006289/0.1782, allocations: 388.1 kB / 364.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1783, allocations: 16.03 kB / 364.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.1785, allocations: 36.81 kB / 364.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1786, allocations: 104.6 kB / 364.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1786, allocations: 8.359 kB / 364.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1787, allocations: 8.312 kB / 364.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1788, allocations: 50.02 kB / 364.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1788, allocations: 3.984 kB / 364.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1788, allocations: 0 / 364.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1788, allocations: 7.984 kB / 364.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.1789, allocations: 12 kB / 364.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.1794, allocations: 300.6 kB / 365 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1795, allocations: 51 kB / 365.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.1795, allocations: 27.72 kB / 365.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1796, allocations: 0 / 365.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.1796, allocations: 33.39 kB / 365.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.1796, allocations: 0 / 365.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003042/0.1799, allocations: 125.7 kB / 365.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.18, allocations: 51.41 kB / 365.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.1801, allocations: 142.2 kB / 365.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1801, allocations: 25.7 kB / 365.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.1802, allocations: 130.9 kB / 365.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.1802, allocations: 63.42 kB / 365.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.1803, allocations: 31.36 kB / 365.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.1806, allocations: 0.4884 MB / 366.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.1806, allocations: 16.14 kB / 366.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.1806, allocations: 15.91 kB / 366.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1807, allocations: 59.61 kB / 366.3 MB, free: 468 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1807, allocations: 0 / 366.3 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001445/0.1809, allocations: 89.58 kB / 366.3 MB, free: 372 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1809, allocations: 4 kB / 366.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1809, allocations: 0 / 366.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1809, allocations: 0 / 366.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.181, allocations: 8 kB / 366.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.181, allocations: 0 / 366.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.181, allocations: 15.89 kB / 366.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.181, allocations: 0 / 366.4 MB, free: 344 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001315/0.1812, allocations: 168.5 kB / 366.5 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1812, allocations: 0 / 366.5 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1812, allocations: 12.31 kB / 366.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1812, allocations: 0 / 366.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1812, allocations: 0 / 366.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1812, allocations: 0 / 366.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1815, allocations: 144.9 kB / 366.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1815, allocations: 7.984 kB / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.1815, allocations: 0 / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1815, allocations: 0 / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1815, allocations: 4 kB / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1815, allocations: 0 / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1815, allocations: 0 / 366.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1818, allocations: 256.2 kB / 367 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.1818, allocations: 7.953 kB / 367 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1818, allocations: 3.984 kB / 367 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.1819, allocations: 0 / 367 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.1819, allocations: 7.938 kB / 367 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.1819, allocations: 4 kB / 367 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.182, allocations: 119.2 kB / 367.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.182, allocations: 0 / 367.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000242/0.1822, allocations: 23.94 kB / 367.1 MB, free: 15.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003656/0.1826, allocations: 132.3 kB / 367.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1828, allocations: 113.1 kB / 367.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1828, allocations: 4 kB / 367.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1829, allocations: 90.23 kB / 367.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1834, allocations: 47.88 kB / 367.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.1839, allocations: 250.2 kB / 367.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.184, allocations: 102.1 kB / 367.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.646e-05/0.1841, allocations: 12.56 kB / 367.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1841, allocations: 16.5 kB / 367.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1841, allocations: 0 / 367.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.006989/0.1911, allocations: 2.165 MB / 370 MB, free: 12.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.545793954981491]