Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.911/4.911, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.00249/0.002489, allocations: 356.6 kB / 0.6447 GB, free: 185.6 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.221/4.221, allocations: 410.7 MB / 1.113 GB, free: 5.957 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.001813/0.001813, allocations: 191.4 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.0005544, allocations: 16 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.744, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003453/0.7475, allocations: 1.369 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.7493, allocations: 465.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.7495, allocations: 1.125 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.7496, allocations: 7.938 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.7497, allocations: 13.11 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.75, allocations: 15.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.7502, allocations: 75.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.7504, allocations: 19.56 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.7506, allocations: 31.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.7508, allocations: 36.42 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.7509, allocations: 1.625 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.7509, allocations: 7.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.7509, allocations: 7.984 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.751, allocations: 41.64 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.7511, allocations: 47.09 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7512, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7512, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7512, allocations: 0 / 1.463 GB, free: 282.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007001/0.7519, allocations: 393.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.752, allocations: 11.62 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.752, allocations: 10 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.7522, allocations: 178.9 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.7523, allocations: 4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.7523, allocations: 12 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.7529, allocations: 93.56 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7529, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.753, allocations: 7.984 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.753, allocations: 1.156 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.7535, allocations: 59.06 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.7543, allocations: 328.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.7547, allocations: 56.59 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.7549, allocations: 32.97 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.7549, allocations: 0.5 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.755, allocations: 31.66 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 3.997e-06/0.755, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000755/0.7558, allocations: 120.2 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7558, allocations: 77.61 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.756, allocations: 138.8 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7561, allocations: 25.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.7562, allocations: 97.12 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.7562, allocations: 11.81 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.7562, allocations: 1.281 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7564, allocations: 322.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.7566, allocations: 32.92 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.7569, allocations: 43.05 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.7571, allocations: 29.95 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.7571, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005433/0.7577, allocations: 96.86 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.7577, allocations: 4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7577, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.7578, allocations: 3.953 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.758, allocations: 15.98 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.7581, allocations: 1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.7583, allocations: 18.33 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.7584, allocations: 4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001354/0.7585, allocations: 117.8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.7586, allocations: 7.906 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.7587, allocations: 13.02 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.7587, allocations: 5.125 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7587, allocations: 0.8438 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.7588, allocations: 85.02 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.7588, allocations: 4.656 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.7591, allocations: 16.98 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.7592, allocations: 9.891 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006651/0.7599, allocations: 174.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005538/0.7605, allocations: 263.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002194/0.7608, allocations: 31.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.7609, allocations: 104.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Backend: time 1.392e-06/0.7609, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008128/0.7617, allocations: 112.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007474/0.7625, allocations: 0.6397 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.006012/0.7685, allocations: 0.8584 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB