Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1085/0.1085, allocations: 15.55 MB / 320 MB, free: 13.13 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 448.2 MB, free: 47.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.119, allocations: 56.55 MB / 0.4929 GB, free: 19.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.004185/0.1232, allocations: 3.471 MB / 0.4963 GB, free: 16.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.1277, allocations: 4.765 MB / 0.501 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.1281, allocations: 9.188 kB / 0.501 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.1285, allocations: 124 kB / 0.5011 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000959/0.1294, allocations: 448 kB / 0.5015 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1306, allocations: 0.5222 MB / 0.502 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.1313, allocations: 0.5854 MB / 0.5026 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.1316, allocations: 308.4 kB / 0.5029 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1318, allocations: 283.2 kB / 0.5032 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.1321, allocations: 314.8 kB / 0.5035 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.1322, allocations: 52 kB / 0.5035 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1333, allocations: 471.3 kB / 0.504 GB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.1334, allocations: 119.6 kB / 0.5041 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1336, allocations: 282.7 kB / 0.5044 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1349, allocations: 1.05 MB / 0.5054 GB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1349, allocations: 0 / 0.5054 GB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1349, allocations: 0 / 0.5054 GB, free: 8.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1349, allocations: 4 kB / 0.5054 GB, free: 8.719 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001257/0.1362, allocations: 0.8721 MB / 0.5062 GB, free: 7.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1362, allocations: 8.031 kB / 0.5063 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.1365, allocations: 92.33 kB / 0.5063 GB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.137, allocations: 374.5 kB / 0.5067 GB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1371, allocations: 37.38 kB / 0.5067 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1371, allocations: 52.33 kB / 0.5068 GB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.1378, allocations: 458.6 kB / 0.5072 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1378, allocations: 0 / 0.5072 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1378, allocations: 20 kB / 0.5072 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1378, allocations: 15.98 kB / 0.5073 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1385, allocations: 0.5036 MB / 0.5077 GB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1404, allocations: 1.538 MB / 0.5093 GB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.1411, allocations: 342.6 kB / 0.5096 GB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1412, allocations: 108.8 kB / 0.5097 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.1429, allocations: 1.569 MB / 0.5112 GB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.1429, allocations: 34.56 kB / 0.5112 GB, free: 2.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.1429, allocations: 0 / 0.5112 GB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.01405/0.157, allocations: 2.343 MB / 0.5135 GB, free: 15.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.157, allocations: 55.34 kB / 0.5136 GB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.1575, allocations: 296.5 kB / 0.5139 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1575, allocations: 33.69 kB / 0.5139 GB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1577, allocations: 276.1 kB / 0.5142 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1579, allocations: 115 kB / 0.5143 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.158, allocations: 78.12 kB / 0.5143 GB, free: 15.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1582, allocations: 358.7 kB / 0.5147 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.1585, allocations: 136.8 kB / 0.5148 GB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1589, allocations: 260 kB / 0.5151 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.1595, allocations: 424.9 kB / 0.5155 GB, free: 13.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1596, allocations: 4 kB / 0.5155 GB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004243/0.1638, allocations: 0.8118 MB / 0.5163 GB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1638, allocations: 8.469 kB / 0.5163 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1638, allocations: 4 kB / 0.5163 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/0.1674, allocations: 421.2 kB / 0.5167 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.1677, allocations: 79.84 kB / 0.5168 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.1745, allocations: 3.985 MB / 0.5207 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.1749, allocations: 15.94 kB / 0.5207 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.175, allocations: 24.03 kB / 0.5207 GB, free: 8.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.1753, allocations: 165.7 kB / 0.5208 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1754, allocations: 43.7 kB / 0.5209 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/0.1806, allocations: 0.8194 MB / 0.5217 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1806, allocations: 4 kB / 0.5217 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1806, allocations: 4 kB / 0.5217 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1806, allocations: 3.984 kB / 0.5217 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/0.1816, allocations: 0.627 MB / 0.5223 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1816, allocations: 96 / 0.5223 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1818, allocations: 51.92 kB / 0.5224 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004807/0.1866, allocations: 490.2 kB / 0.5228 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.1866, allocations: 15.94 kB / 0.5228 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/0.1945, allocations: 5.303 MB / 0.528 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1945, allocations: 7.938 kB / 0.528 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.1999, allocations: 1.117 MB / 0.5291 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.2001, allocations: 108.9 kB / 0.5292 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.2001, allocations: 12 kB / 0.5292 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.2004, allocations: 12 kB / 0.5293 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.2006, allocations: 43.81 kB / 0.5293 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.2006, allocations: 16 kB / 0.5293 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.2009, allocations: 211.1 kB / 0.5295 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.5295 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009453/0.2018, allocations: 239.5 kB / 0.5297 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006276/0.2025, allocations: 294.6 kB / 0.53 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.204, allocations: 0.6697 MB / 0.5307 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.204, allocations: 0 / 0.5307 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.2051, allocations: 0.5978 MB / 0.5313 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.2057, allocations: 110.3 kB / 0.5314 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2076, allocations: 1.037 MB / 0.5324 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.2082, allocations: 0.8275 MB / 0.5332 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.2084, allocations: 75.2 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2085, allocations: 63.39 kB / 0.5333 GB, free: 10.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2085, allocations: 7.938 kB / 0.5333 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Templates: time 0.02193/0.2305, allocations: 11.68 MB / 0.5447 GB, free: 14.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.724792754277587]