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 5.04/5.04, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002471/0.002471, allocations: 355.2 kB / 0.6447 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.306/4.306, allocations: 410.7 MB / 1.113 GB, free: 5.973 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.002521/0.002521, allocations: 194.8 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005164, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7245, 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.002221/0.7268, allocations: 1.463 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.7293, allocations: 1.539 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.7295, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.7297, allocations: 22.86 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.7298, allocations: 19.84 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.7305, allocations: 194.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.7308, allocations: 215.4 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.731, allocations: 47.14 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.7311, allocations: 71.75 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.7313, allocations: 63.75 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.7313, allocations: 8.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.7318, allocations: 171.6 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.7319, allocations: 68.61 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.7319, allocations: 62.08 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.7323, allocations: 271.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7323, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7324, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7324, 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.001104/0.7335, allocations: 0.5267 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7335, allocations: 15.62 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.7336, allocations: 28.39 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.7339, allocations: 234.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.734, allocations: 21.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.734, allocations: 23.98 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.7345, allocations: 197.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.7345, allocations: 5.312 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.7346, allocations: 11.94 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7346, allocations: 6.344 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.735, allocations: 127.3 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.7369, allocations: 0.593 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7382, allocations: 300.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.7384, allocations: 100 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.7385, allocations: 11.86 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.7389, allocations: 161.7 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 3.557e-06/0.7389, allocations: 0 / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.0009578/0.7399, allocations: 396 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.74, allocations: 68.36 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.7402, allocations: 183.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.7402, allocations: 45.69 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.7403, allocations: 129.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.7404, allocations: 75.08 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.7404, allocations: 8 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.7405, allocations: 336 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.7408, allocations: 114 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.7412, allocations: 253.5 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.7416, allocations: 157 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7416, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008975/0.7425, allocations: 408.8 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.7425, allocations: 4 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7426, allocations: 8 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.7426, allocations: 4 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.743, allocations: 68.78 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.743, allocations: 12.83 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.7433, allocations: 53.23 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.7433, allocations: 23.98 kB / 1.47 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.0002366/0.7436, allocations: 180.3 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.7436, allocations: 15.81 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.7437, allocations: 24.42 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.7437, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7437, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.7438, allocations: 96.81 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.7439, allocations: 20.48 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.7441, allocations: 24.8 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.7442, allocations: 28.56 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008983/0.7451, allocations: 418 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001029/0.7462, allocations: 0.6034 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002506/0.7464, allocations: 108.8 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001079/0.7465, allocations: 127.2 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.61e-07/0.7466, allocations: 6.219 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.7481, allocations: 480.4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000917/0.749, allocations: 0.9141 MB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.009081/0.7581, allocations: 3.169 MB / 1.476 GB, free: 269.4 MB / 0.8542 GB