Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.785/4.785, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 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.002424/0.002424, allocations: 360.9 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.002/4.002, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 180.6 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 12.94 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1984, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005686/0.2042, allocations: 3.826 MB / 1.465 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8377/1.042, allocations: 136.6 MB / 1.599 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/1.043, allocations: 14.97 kB / 1.599 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005179/1.043, allocations: 106 kB / 1.599 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/1.045, allocations: 448.1 kB / 1.599 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/1.048, allocations: 0.6111 MB / 1.6 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002135/1.05, allocations: 1.072 MB / 1.601 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.052, allocations: 467.2 kB / 1.601 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008803/1.052, allocations: 304.7 kB / 1.601 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007027/1.053, allocations: 329.5 kB / 1.602 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/1.053, allocations: 21.84 kB / 1.602 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/1.054, allocations: 287.8 kB / 1.602 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/1.055, allocations: 166.5 kB / 1.602 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/1.055, allocations: 188 kB / 1.602 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002282/1.057, allocations: 1.074 MB / 1.603 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.058, allocations: 1.281 kB / 1.603 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.008e-06/1.058, allocations: 0 / 1.603 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.878e-05/1.058, allocations: 0 / 1.603 GB, free: 11.08 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.005735/1.063, allocations: 1.171 MB / 1.605 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/1.063, allocations: 9.438 kB / 1.605 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/1.066, allocations: 197 kB / 1.605 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/1.068, allocations: 0.7069 MB / 1.605 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/1.068, allocations: 66.11 kB / 1.606 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/1.069, allocations: 74.91 kB / 1.606 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/1.071, allocations: 0.8592 MB / 1.606 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/1.071, allocations: 1.031 kB / 1.606 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.071, allocations: 44.59 kB / 1.606 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/1.071, allocations: 22.95 kB / 1.607 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/1.075, allocations: 1.09 MB / 1.608 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/1.081, allocations: 2.446 MB / 1.61 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/1.084, allocations: 0.7412 MB / 1.611 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.086, allocations: 298.5 kB / 1.611 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/1.086, allocations: 110.4 kB / 1.611 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/1.088, allocations: 443.9 kB / 1.612 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.23e-06/1.088, allocations: 4 kB / 1.612 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005331/1.094, allocations: 1.129 MB / 1.613 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.094, allocations: 190.4 kB / 1.613 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.095, allocations: 0.615 MB / 1.613 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/1.095, allocations: 48.08 kB / 1.613 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/1.096, allocations: 398.6 kB / 1.614 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.096, allocations: 239.3 kB / 1.614 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/1.096, allocations: 15.22 kB / 1.614 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.096, allocations: 385.2 kB / 1.614 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/1.097, allocations: 248.4 kB / 1.615 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/1.098, allocations: 348.5 kB / 1.615 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009602/1.099, allocations: 294.2 kB / 1.615 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/1.099, allocations: 3.312 kB / 1.615 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00315/1.102, allocations: 0.8127 MB / 1.616 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.102, allocations: 4.688 kB / 1.616 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.102, allocations: 4 kB / 1.616 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.103, allocations: 92.2 kB / 1.616 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.105, allocations: 148.1 kB / 1.616 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/1.108, allocations: 1.535 MB / 1.618 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.109, allocations: 79.98 kB / 1.618 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.109, allocations: 37.66 kB / 1.618 GB, free: 1.012 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006822/1.11, allocations: 258.9 kB / 1.618 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/1.11, allocations: 91.23 kB / 1.618 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/1.114, allocations: 1.023 MB / 1.619 GB, free: 176 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.114, allocations: 7.922 kB / 1.619 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.114, allocations: 0 / 1.619 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.115, allocations: 278.6 kB / 1.62 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.115, allocations: 20.91 kB / 1.62 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.116, allocations: 73.22 kB / 1.62 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.116, allocations: 56.47 kB / 1.62 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003214/1.119, allocations: 0.9016 MB / 1.621 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00367/1.123, allocations: 1.336 MB / 1.622 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009443/1.124, allocations: 332.7 kB / 1.622 GB, free: 14.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009228/1.125, allocations: 445.4 kB / 1.623 GB, free: 14.13 MB / 0.698 GB Notification: Performance of Backend: time 8.02e-07/1.125, allocations: 0 / 1.623 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004433/1.13, allocations: 1.143 MB / 1.624 GB, free: 13.55 MB / 0.698 GB Notification: Performance of SimCode: time 0.005076/1.135, allocations: 2.392 MB / 1.626 GB, free: 11.78 MB / 0.698 GB Notification: Performance of Templates: time 0.03953/1.174, allocations: 13.98 MB / 1.64 GB, free: 1.352 MB / 0.698 GB