Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.253/1.253, 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.0008935/0.0008934, allocations: 177.3 kB / 326.5 MB, free: 2.688 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.327/1.327, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0006713/0.0006714, allocations: 80.5 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002824, allocations: 8.219 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001603/0.1543, allocations: 1.498 MB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1558, allocations: 1.655 MB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1559, allocations: 7.938 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.156, allocations: 19.86 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.1561, allocations: 19.84 kB / 0.8999 GB, free: 64.96 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1565, allocations: 199.5 kB / 0.9001 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1567, allocations: 223.5 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1568, allocations: 57.89 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.1569, allocations: 79.69 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.157, allocations: 63.69 kB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1571, allocations: 4 kB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1573, allocations: 187.6 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1574, allocations: 71.8 kB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.1574, allocations: 83.53 kB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.1577, allocations: 355 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1577, allocations: 3.938 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1577, allocations: 0 / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.1577, allocations: 0 / 0.9011 GB, free: 63.66 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000673/0.1584, allocations: 0.5264 MB / 0.9017 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1585, allocations: 12.02 kB / 0.9017 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1585, allocations: 24.66 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1587, allocations: 247.9 kB / 0.9019 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1587, allocations: 16.7 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1588, allocations: 35.92 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.159, allocations: 196.8 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.159, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1591, allocations: 8 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1591, allocations: 4 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1593, allocations: 124.5 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.1603, allocations: 0.5977 MB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.1609, allocations: 291.9 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1611, allocations: 109.4 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1611, allocations: 4 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1613, allocations: 169.5 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.1613, allocations: 0 / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.000518/0.1618, allocations: 390.1 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1619, allocations: 75.38 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.162, allocations: 182.7 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.162, allocations: 45.69 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.1621, allocations: 120.7 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1621, allocations: 75.02 kB / 0.9043 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1622, allocations: 57.69 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.1622, allocations: 338.8 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1624, allocations: 112.8 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1626, allocations: 252.6 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.1629, allocations: 363.9 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1629, allocations: 4 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004514/0.1634, allocations: 416.8 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1634, allocations: 8 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1634, allocations: 4.469 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1634, allocations: 15.94 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1636, allocations: 63.84 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1636, allocations: 8 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1638, allocations: 43.67 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1638, allocations: 16.19 kB / 0.9059 GB, free: 58.44 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: 34 (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_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],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 (50): * Single equations (assignments): 50 * 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.000114/0.1639, allocations: 196.2 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1639, allocations: 19.75 kB / 0.9061 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.164, allocations: 21.86 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.164, allocations: 4 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.164, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.164, allocations: 100.8 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.1641, allocations: 23.98 kB / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1642, allocations: 19.97 kB / 0.9063 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1642, allocations: 19.97 kB / 0.9063 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004534/0.1647, allocations: 428.8 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005384/0.1652, allocations: 0.6038 MB / 0.9073 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001326/0.1654, allocations: 108 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.1654, allocations: 128.3 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of Backend: time 3.81e-07/0.1654, allocations: 0 / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000933/0.1664, allocations: 488.2 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005468/0.1669, allocations: 0.9133 MB / 0.9089 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.004811/0.1718, allocations: 3.245 MB / 0.912 GB, free: 52.12 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)