Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.732/4.732, allocations: 0.5623 GB / 0.5769 GB, free: 3.414 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002444, allocations: 361.1 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.337/4.337, allocations: 410.7 MB / 1.112 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001756/0.001755, allocations: 179.4 kB / 1.225 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 12 kB / 1.348 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6491, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001888/0.6511, allocations: 1.465 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.6532, allocations: 1.523 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.6533, allocations: 7.156 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.6535, allocations: 23.84 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.6536, allocations: 11.81 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.6542, allocations: 199.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.6544, allocations: 207.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.6546, allocations: 50.17 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.6547, allocations: 80.19 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.6549, allocations: 65.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.6549, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.6553, allocations: 163.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.6554, allocations: 75.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.6554, allocations: 58.33 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.6558, allocations: 266.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.73e-06/0.6558, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.979e-06/0.6558, allocations: 1.625 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.665e-06/0.6558, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 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.0008182/0.6567, allocations: 0.532 MB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6567, allocations: 11.62 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.6568, allocations: 23.72 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.657, allocations: 238.7 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.6571, allocations: 20.31 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.6571, allocations: 31.14 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.6575, allocations: 197.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6576, allocations: 1.812 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.6576, allocations: 11.95 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-06/0.6576, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.6579, allocations: 127.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.6593, allocations: 0.5965 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.6602, allocations: 298.2 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.6604, allocations: 102.6 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.6605, allocations: 4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.6608, allocations: 167 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 3.477e-06/0.6609, allocations: 0.6875 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.0008106/0.6617, allocations: 391.9 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.6617, allocations: 84.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.6619, allocations: 170.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.662, allocations: 55 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.662, allocations: 120.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.6621, allocations: 71.09 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.6622, allocations: 12.75 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.6622, allocations: 343.8 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6625, allocations: 113.4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.6628, allocations: 241.3 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.6631, allocations: 153.1 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-06/0.6631, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007678/0.6639, allocations: 421.4 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6639, allocations: 8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6639, allocations: 4 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.664, allocations: 9.062 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.6642, allocations: 67.8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.6643, allocations: 8.969 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.6645, allocations: 53.2 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.6646, allocations: 12 kB / 1.469 GB, free: 275.4 MB / 0.8542 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.6648, allocations: 183.2 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.6648, allocations: 20.77 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.6649, allocations: 17.88 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6649, allocations: 5.828 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.6649, allocations: 4.891 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.908e-06/0.6649, allocations: 3.984 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.666, allocations: 0.6839 MB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-06/0.6661, allocations: 0 / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.6662, allocations: 16 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7e-06/0.6662, allocations: 0 / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.6663, allocations: 19.88 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-06/0.6663, allocations: 4 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-06/0.6663, allocations: 1 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.6671, allocations: 0.5133 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.6672, allocations: 92.86 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.6673, allocations: 16.03 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.6675, allocations: 29.8 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.6676, allocations: 21.09 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.6676, allocations: 19.92 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001059/0.6677, allocations: 119.2 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6677, allocations: 1.281 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005844/0.6683, allocations: 108 kB / 1.471 GB, free: 273.5 MB / 0.8542 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008008/0.6691, allocations: 333.8 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006167/0.6698, allocations: 277.6 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.731e-06/0.6698, allocations: 0.5 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.67, allocations: 104.7 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.6705, allocations: 26.55 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.6715, allocations: 0.5482 MB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.6717, allocations: 0.749 MB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.6719, allocations: 51.3 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.672, allocations: 23.42 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.669e-06/0.672, allocations: 0.75 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.007823/0.6798, allocations: 3.017 MB / 1.476 GB, free: 268.6 MB / 0.8542 GB