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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000879/0.000879, allocations: 182.4 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006907/0.0006908, allocations: 98.42 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003946, allocations: 12.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1536, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001578/0.1552, allocations: 1.49 MB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1568, allocations: 1.643 MB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1569, allocations: 3.938 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.157, allocations: 23.86 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.1571, allocations: 15.86 kB / 0.8999 GB, free: 64.94 MB / 0.6042 GB [/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.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.1575, allocations: 191.5 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1577, allocations: 199.5 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1578, allocations: 61.81 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.1579, allocations: 71.77 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.158, allocations: 71.62 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1581, allocations: 4 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1583, allocations: 179.7 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1584, allocations: 59.81 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1585, allocations: 75.53 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1587, allocations: 347.1 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1587, allocations: 4 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1587, allocations: 0 / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1588, allocations: 0 / 0.9011 GB, free: 63.7 MB / 0.6042 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.0006956/0.1595, allocations: 0.522 MB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1595, allocations: 12.03 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1596, allocations: 20.73 kB / 0.9016 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1597, allocations: 240.6 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1598, allocations: 20.38 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1598, allocations: 27.84 kB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1601, allocations: 189.4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1601, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1601, allocations: 4 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1602, allocations: 4 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.1604, allocations: 127.9 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.1614, allocations: 0.5704 MB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.162, allocations: 270.7 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1622, allocations: 100.7 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1622, allocations: 3.938 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1624, allocations: 156.5 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.1624, allocations: 0 / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005257/0.163, allocations: 356.1 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.163, allocations: 67.39 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1631, allocations: 179.2 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1631, allocations: 45.62 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.1632, allocations: 132.4 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1632, allocations: 71.12 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1633, allocations: 37.7 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.1633, allocations: 334.8 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1635, allocations: 103.9 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.1637, allocations: 236.5 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.164, allocations: 332 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.164, allocations: 8 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004501/0.1645, allocations: 377.3 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1645, allocations: 4 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1645, allocations: 8 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1645, allocations: 4 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1647, allocations: 59.91 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1647, allocations: 11.88 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1649, allocations: 43.73 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1649, allocations: 20 kB / 0.9056 GB, free: 58.73 MB / 0.6042 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.0001273/0.165, allocations: 168.6 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.165, allocations: 19.8 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.1651, allocations: 17.88 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1651, allocations: 4 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1651, allocations: 4 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.1651, allocations: 100.8 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1652, allocations: 8 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1653, allocations: 27.97 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1654, allocations: 19.97 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004802/0.1659, allocations: 396.6 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005525/0.1664, allocations: 0.5759 MB / 0.9069 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001443/0.1666, allocations: 104 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.1666, allocations: 135.2 kB / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of Backend: time 2.8e-07/0.1667, allocations: 3.938 kB / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00093/0.1676, allocations: 447.4 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005485/0.1681, allocations: 0.894 MB / 0.9084 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.005016/0.1732, allocations: 3.086 MB / 0.9114 GB, free: 52.73 MB / 0.6042 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)