Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004574/0.004574, allocations: 101.4 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 196.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 222.6 MB, free: 4.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.89 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1597, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002574/0.1623, allocations: 1.782 MB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1641, allocations: 1.632 MB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1642, allocations: 4 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1643, allocations: 31.73 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.1644, allocations: 23.78 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function 'Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.165, allocations: 241.5 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1652, allocations: 207.5 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1653, allocations: 65.83 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1655, allocations: 87.73 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1656, allocations: 75.67 kB / 0.8321 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1656, allocations: 12 kB / 0.8321 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1659, allocations: 215.6 kB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.166, allocations: 63.81 kB / 0.8323 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.1661, allocations: 87.52 kB / 0.8324 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1665, allocations: 363 kB / 0.8328 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1665, allocations: 0 / 0.8328 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1665, allocations: 0 / 0.8328 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1665, allocations: 4 kB / 0.8328 GB, free: 11.34 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008121/0.1673, allocations: 0.5611 MB / 0.8333 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.1673, allocations: 8.031 kB / 0.8333 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1674, allocations: 24.69 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1676, allocations: 236.6 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1676, allocations: 20.36 kB / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.1677, allocations: 23.84 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.168, allocations: 189.4 kB / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.168, allocations: 0 / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.168, allocations: 4 kB / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.168, allocations: 0 / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.1683, allocations: 127.8 kB / 0.8339 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1693, allocations: 0.5471 MB / 0.8345 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.1701, allocations: 246.7 kB / 0.8347 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1702, allocations: 96.75 kB / 0.8348 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1702, allocations: 0 / 0.8348 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.1705, allocations: 153.7 kB / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1705, allocations: 0 / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0005786/0.1711, allocations: 345.2 kB / 0.8353 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1711, allocations: 71.34 kB / 0.8353 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1713, allocations: 179.2 kB / 0.8355 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1713, allocations: 45.62 kB / 0.8355 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.1714, allocations: 132.4 kB / 0.8357 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1714, allocations: 63.19 kB / 0.8357 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.1715, allocations: 65.7 kB / 0.8358 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1716, allocations: 334.8 kB / 0.8361 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1718, allocations: 103.9 kB / 0.8362 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.172, allocations: 224 kB / 0.8364 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.1724, allocations: 327.9 kB / 0.8367 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1724, allocations: 7.938 kB / 0.8367 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005078/0.1729, allocations: 369 kB / 0.8371 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1729, allocations: 8 kB / 0.8371 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1729, allocations: 4 kB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1729, allocations: 8 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1731, allocations: 59.84 kB / 0.8372 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1731, allocations: 12 kB / 0.8372 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.1733, allocations: 40.08 kB / 0.8372 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1733, allocations: 19.98 kB / 0.8372 GB, free: 6.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001322/0.1735, allocations: 171.4 kB / 0.8374 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1735, allocations: 15.81 kB / 0.8374 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1735, allocations: 25.86 kB / 0.8374 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1736, allocations: 8 kB / 0.8374 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1736, allocations: 3.938 kB / 0.8375 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1736, allocations: 0 / 0.8375 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.1743, allocations: 0.6262 MB / 0.8381 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1744, allocations: 4 kB / 0.8381 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1745, allocations: 19.92 kB / 0.8381 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1745, allocations: 0 / 0.8381 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1745, allocations: 19.92 kB / 0.8381 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1745, allocations: 4 kB / 0.8381 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1745, allocations: 0 / 0.8381 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.1751, allocations: 473.4 kB / 0.8386 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.1752, allocations: 88.92 kB / 0.8386 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1752, allocations: 19.97 kB / 0.8387 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1754, allocations: 19.98 kB / 0.8387 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1754, allocations: 19.91 kB / 0.8387 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1755, allocations: 12 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.1755, allocations: 127.2 kB / 0.8388 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 0.8388 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003564/0.1759, allocations: 103.9 kB / 0.8389 GB, free: 4.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0005271/0.1764, allocations: 316.7 kB / 0.8392 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.1769, allocations: 253.8 kB / 0.8395 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1769, allocations: 0 / 0.8395 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.177, allocations: 95.89 kB / 0.8396 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1773, allocations: 23.67 kB / 0.8396 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.178, allocations: 468.7 kB / 0.84 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1782, allocations: 0.7363 MB / 0.8408 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.1783, allocations: 49.91 kB / 0.8408 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1784, allocations: 23.44 kB / 0.8408 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1784, allocations: 0 / 0.8408 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of Templates: time 0.005403/0.1838, allocations: 3.094 MB / 0.8438 GB, free: 15.55 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)