Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 182.1 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 106.8 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005092, allocations: 14.62 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007106/0.2887, allocations: 3.753 MB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2182/0.507, allocations: 127.6 MB / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.5079, allocations: 15.88 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.5085, allocations: 103.2 kB / 1.027 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.5109, allocations: 494.8 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.5136, allocations: 0.5965 MB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.5158, allocations: 0.7636 MB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.517, allocations: 483.2 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007628/0.5177, allocations: 310.6 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.5183, allocations: 306.3 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.5185, allocations: 20 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009729/0.5195, allocations: 263.7 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.5198, allocations: 167.3 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.52, allocations: 185.1 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.5221, allocations: 1.083 MB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5221, allocations: 3.938 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5222, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.5222, allocations: 0 / 1.032 GB, free: 9.043 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.003389/0.5256, allocations: 1.174 MB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5256, allocations: 8.031 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.5271, allocations: 194.5 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.529, allocations: 0.7077 MB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.5291, allocations: 58 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.5293, allocations: 76 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.5318, allocations: 0.8598 MB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.5319, allocations: 4 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.5321, allocations: 43.94 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.5321, allocations: 20 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/0.5353, allocations: 1.081 MB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007037/0.5423, allocations: 2.446 MB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.5448, allocations: 0.7414 MB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.5451, allocations: 121.7 kB / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.5465, allocations: 440.5 kB / 1.04 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/0.5465, allocations: 0 / 1.04 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005483/0.552, allocations: 1.136 MB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.5522, allocations: 192.6 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5536, allocations: 0.6176 MB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.5538, allocations: 37.7 kB / 1.041 GB, free: 14.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.5544, allocations: 400.2 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.5548, allocations: 236.6 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.5548, allocations: 12 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.5551, allocations: 390.8 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.556, allocations: 225.2 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.5571, allocations: 334.7 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.5581, allocations: 283.1 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5582, allocations: 0 / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003241/0.5614, allocations: 0.7587 MB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.5615, allocations: 4 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5615, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000985/0.5625, allocations: 84.88 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.5638, allocations: 143.8 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.567, allocations: 1.559 MB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.5683, allocations: 75.56 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.5684, allocations: 31.97 kB / 1.046 GB, free: 10.09 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.0007225/0.5691, allocations: 263.8 kB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.5694, allocations: 82.97 kB / 1.046 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.5736, allocations: 1.018 MB / 1.047 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.5737, allocations: 12.23 kB / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5737, allocations: 0 / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.5738, allocations: 7.969 kB / 1.047 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.5758, allocations: 0.8724 MB / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5759, allocations: 0 / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.5774, allocations: 147.8 kB / 1.048 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.5789, allocations: 88.64 kB / 1.048 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.579, allocations: 27.98 kB / 1.048 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.5831, allocations: 1.571 MB / 1.05 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5831, allocations: 3.984 kB / 1.05 GB, free: 5.785 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.5877, allocations: 0.8732 MB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.5885, allocations: 271.7 kB / 1.051 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.5888, allocations: 23.94 kB / 1.051 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.5905, allocations: 72.75 kB / 1.051 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.5908, allocations: 56.92 kB / 1.051 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.591, allocations: 31.98 kB / 1.051 GB, free: 4.422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001448/0.5925, allocations: 447 kB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5925, allocations: 0 / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001438/0.594, allocations: 279.2 kB / 1.052 GB, free: 3.719 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.001732/0.5957, allocations: 0.5581 MB / 1.052 GB, free: 3.332 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.5982, allocations: 0.7552 MB / 1.053 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5982, allocations: 0 / 1.053 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.5997, allocations: 0.4925 MB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6015, allocations: 241.5 kB / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6068/1.208, allocations: 2.141 MB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/1.209, allocations: 1.038 MB / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001416/1.211, allocations: 253.6 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/1.211, allocations: 97.12 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.211, allocations: 0 / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0413/1.252, allocations: 12.92 MB / 1.07 GB, free: 151 MB / 0.698 GB