Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.929/4.929, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.00245/0.002449, allocations: 357.4 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.278/4.278, allocations: 410.7 MB / 1.113 GB, free: 5.875 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.001925/0.001925, allocations: 188 kB / 1.226 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006869/0.0006872, allocations: 12 kB / 1.349 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7516, 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.KMinusU): time 0.001675/0.7534, allocations: 1.14 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008615/0.7543, allocations: 411.9 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.7543, allocations: 1.062 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.7544, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.7545, allocations: 3.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.7547, allocations: 13.45 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.7548, allocations: 23.91 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.755, allocations: 7.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.7551, allocations: 16.78 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.7552, allocations: 7.922 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.7553, allocations: 4.656 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.7553, allocations: 0.75 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.7553, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.7554, allocations: 32.3 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.846e-05/0.7554, allocations: 11.97 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7555, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7555, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7555, allocations: 0 / 1.463 GB, free: 282.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004158/0.7559, allocations: 342.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.756, allocations: 11.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.756, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.7561, allocations: 177.8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7561, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.7562, allocations: 0.7031 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.7563, allocations: 45.69 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7563, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7564, allocations: 1.828 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7564, allocations: 2.094 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.7565, allocations: 19.98 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.7568, allocations: 257.6 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.757, allocations: 32.3 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.7571, allocations: 26.88 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.7571, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.7571, allocations: 30.56 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.7571, allocations: 2.406 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002995/0.7574, allocations: 77.52 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.7575, allocations: 52.12 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.7575, allocations: 107.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7576, allocations: 25.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.7576, allocations: 84.12 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.7576, allocations: 7.844 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.7577, allocations: 4.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.7577, allocations: 315.6 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.7578, allocations: 13.2 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.7579, allocations: 8.75 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.758, allocations: 12.73 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.758, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.7582, allocations: 60.34 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7582, allocations: 7.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7582, allocations: 4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7582, allocations: 3.938 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.7583, allocations: 5.281 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7584, allocations: 3.984 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.7584, allocations: 9.578 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.7584, allocations: 0 / 1.465 GB, free: 280.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.168e-05/0.7585, allocations: 109.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.7585, allocations: 8.594 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.7586, allocations: 3.531 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7586, allocations: 1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7586, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.7587, allocations: 86.78 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.7587, allocations: 4.453 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.7588, allocations: 0.7188 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.7588, allocations: 8.594 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002098/0.759, allocations: 139.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002018/0.7593, allocations: 219.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.455e-05/0.7594, allocations: 18.39 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.7594, allocations: 83.28 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of Backend: time 4.41e-07/0.7594, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.7598, allocations: 89.05 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003503/0.7602, allocations: 0.5837 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002679/0.7629, allocations: 350.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB