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 2.654/2.654, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 182.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001731/0.001731, allocations: 92.42 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004636, allocations: 15.16 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1539, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004527/0.1584, allocations: 3.749 MB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7399/0.8983, allocations: 127.6 MB / 1.107 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.8995, allocations: 17.66 kB / 1.107 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.9003, allocations: 101.8 kB / 1.107 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.9036, allocations: 482.6 kB / 1.108 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.9077, allocations: 0.5986 MB / 1.108 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.9103, allocations: 0.7677 MB / 1.109 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.9117, allocations: 485.3 kB / 1.109 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.9127, allocations: 306.4 kB / 1.11 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.9135, allocations: 304.4 kB / 1.11 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.9137, allocations: 21.81 kB / 1.11 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.9151, allocations: 266.8 kB / 1.11 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.9155, allocations: 168.4 kB / 1.11 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.9159, allocations: 186.9 kB / 1.111 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.9187, allocations: 1.083 MB / 1.112 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.764e-06/0.9187, allocations: 0 / 1.112 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.542e-06/0.9187, allocations: 0 / 1.112 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.9188, allocations: 1.438 kB / 1.112 GB, free: 1.137 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.004351/0.9231, allocations: 1.173 MB / 1.113 GB, free: 16.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9232, allocations: 10.86 kB / 1.113 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.9254, allocations: 200.8 kB / 1.113 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.9281, allocations: 0.7062 MB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.9283, allocations: 56.16 kB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.9286, allocations: 77.44 kB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.9323, allocations: 0.8578 MB / 1.115 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.9324, allocations: 4.969 kB / 1.115 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.9326, allocations: 31.88 kB / 1.115 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.9327, allocations: 24.03 kB / 1.115 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/0.9372, allocations: 1.083 MB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006303/0.9435, allocations: 2.453 MB / 1.118 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.9469, allocations: 0.7449 MB / 1.119 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.9473, allocations: 118 kB / 1.119 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/0.949, allocations: 445 kB / 1.119 GB, free: 14.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 8.47e-06/0.949, allocations: 0 / 1.119 GB, free: 14.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.006538/0.9556, allocations: 1.132 MB / 1.12 GB, free: 14.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.9558, allocations: 199.6 kB / 1.121 GB, free: 14.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.9573, allocations: 0.6163 MB / 1.121 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.9575, allocations: 37.58 kB / 1.121 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.9579, allocations: 398.8 kB / 1.122 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.9582, allocations: 239.9 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.9583, allocations: 11.91 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.9585, allocations: 384.2 kB / 1.122 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.9592, allocations: 233.5 kB / 1.123 GB, free: 13.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.96, allocations: 329 kB / 1.123 GB, free: 13.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.9607, allocations: 277.3 kB / 1.123 GB, free: 13.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.9607, allocations: 0 / 1.123 GB, free: 13.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002351/0.9631, allocations: 0.7608 MB / 1.124 GB, free: 13.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.9632, allocations: 4.969 kB / 1.124 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.597e-06/0.9632, allocations: 2.5 kB / 1.124 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.9638, allocations: 84 kB / 1.124 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.9646, allocations: 141.5 kB / 1.124 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.9673, allocations: 1.557 MB / 1.126 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.9682, allocations: 91.25 kB / 1.126 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.9683, allocations: 25.12 kB / 1.126 GB, free: 12.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0006361/0.969, allocations: 258.5 kB / 1.126 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.9692, allocations: 86.58 kB / 1.126 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.9722, allocations: 1.023 MB / 1.127 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.9722, allocations: 8 kB / 1.127 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.79e-06/0.9722, allocations: 0 / 1.127 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9722, allocations: 4.312 kB / 1.127 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.9737, allocations: 0.8768 MB / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-06/0.9738, allocations: 0 / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/0.9746, allocations: 149.8 kB / 1.128 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/0.9752, allocations: 83.69 kB / 1.128 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.9753, allocations: 20.16 kB / 1.128 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.9778, allocations: 1.576 MB / 1.13 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-06/0.9778, allocations: 2.156 kB / 1.13 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.9803, allocations: 0.8776 MB / 1.131 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.9808, allocations: 273.7 kB / 1.131 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.981, allocations: 22.98 kB / 1.131 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.9817, allocations: 73.72 kB / 1.131 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.9819, allocations: 61.81 kB / 1.131 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/0.982, allocations: 27.77 kB / 1.131 GB, free: 9.816 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000797/0.9828, allocations: 454.3 kB / 1.131 GB, free: 9.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-07/0.9828, allocations: 0 / 1.131 GB, free: 9.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001054/0.9839, allocations: 268.2 kB / 1.132 GB, free: 9.609 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.9858, allocations: 0.5656 MB / 1.132 GB, free: 9.367 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.9878, allocations: 0.7543 MB / 1.133 GB, free: 9.145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.349e-06/0.9879, allocations: 192 / 1.133 GB, free: 9.145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.9891, allocations: 0.4943 MB / 1.133 GB, free: 8.953 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.9905, allocations: 251.1 kB / 1.134 GB, free: 8.883 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.9958, allocations: 2.14 MB / 1.136 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/0.9967, allocations: 1.042 MB / 1.137 GB, free: 6.844 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001311/0.998, allocations: 258.3 kB / 1.137 GB, free: 6.715 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.9984, allocations: 100.9 kB / 1.137 GB, free: 6.691 MB / 0.698 GB Notification: Performance of SimCode: time 1.67e-06/0.9984, allocations: 0 / 1.137 GB, free: 6.691 MB / 0.698 GB Notification: Performance of Templates: time 0.03503/1.033, allocations: 12.91 MB / 1.15 GB, free: 236 kB / 0.698 GB