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.78/4.78, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002448/0.002448, allocations: 359 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.015/4.015, 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.001806/0.001806, allocations: 196.1 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004924, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5762, 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.001354/0.5776, allocations: 1.141 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005971/0.5782, allocations: 408.9 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.5783, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.5783, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.5783, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.5785, allocations: 9.062 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.5785, allocations: 19.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.08e-05/0.5786, allocations: 6.734 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.5787, allocations: 23.86 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.5788, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.5788, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-06/0.5788, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.871e-06/0.5788, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.5788, allocations: 33.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.44e-05/0.5789, allocations: 8.781 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.14e-06/0.5789, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5789, allocations: 0.7812 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5789, allocations: 0 / 1.462 GB, free: 282.7 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.0003122/0.5793, allocations: 340.3 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5793, allocations: 15.61 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.5794, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.5794, allocations: 175 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5795, allocations: 0.6094 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.5795, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5796, allocations: 46.91 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.835e-06/0.5796, allocations: 1.625 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-06/0.5797, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-06/0.5797, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5798, allocations: 25.14 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.5801, allocations: 254 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.5802, allocations: 38.53 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.5803, allocations: 21.66 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.5803, allocations: 0.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.5804, allocations: 36.44 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.073e-06/0.5804, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002617/0.5807, allocations: 70.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.5807, allocations: 58.3 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.5808, allocations: 105.8 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5808, allocations: 25.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5808, allocations: 84.14 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.5809, allocations: 7.906 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.5809, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.5809, allocations: 315.9 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.581, allocations: 15.92 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.581, allocations: 9.781 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.5811, allocations: 11.98 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5811, allocations: 5.062 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001436/0.5813, allocations: 50.34 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5813, allocations: 12.19 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-06/0.5813, allocations: 6.094 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5813, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.5814, allocations: 7.984 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.564e-06/0.5815, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.5815, allocations: 7.953 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-06/0.5815, allocations: 0.5625 kB / 1.464 GB, free: 280.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: 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 5.45e-05/0.5816, allocations: 118.2 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.5816, allocations: 4.531 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.5817, allocations: 3.531 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-06/0.5817, allocations: 4.953 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-06/0.5817, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.588e-06/0.5817, allocations: 5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5819, allocations: 157.6 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-06/0.5819, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.5819, allocations: 5.531 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-06/0.582, allocations: 3.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.582, allocations: 256 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-06/0.582, allocations: 8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.582, allocations: 0.6875 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.5822, allocations: 157.5 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.5822, allocations: 80.38 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.5822, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.5823, allocations: 9.641 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.5824, allocations: 3.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-06/0.5824, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.5824, allocations: 92.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.3e-07/0.5824, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002826/0.5827, allocations: 3.938 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 7.916e-05/0.5828, allocations: 100.4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.583, allocations: 25.89 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.948e-06/0.583, allocations: 3.938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.5831, allocations: 12.94 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5833, allocations: 16.78 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.5836, allocations: 129.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.5838, allocations: 0.6819 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.5838, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.5838, allocations: 8.688 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.319e-06/0.5838, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.002317/0.5862, allocations: 270.4 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB