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.67/4.67, allocations: 0.5623 GB / 0.5769 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.002346/0.002345, allocations: 356.1 kB / 0.644 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 3.862/3.862, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001759/0.001759, allocations: 189.5 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 16 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5748, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004413/0.5792, allocations: 3.82 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.7129, allocations: 136.7 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.7136, allocations: 19.88 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.714, allocations: 103.2 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.7154, allocations: 449.4 kB / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.7172, allocations: 0.6063 MB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.7183, allocations: 1.07 MB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.719, allocations: 474.8 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.7194, allocations: 302.5 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.7199, allocations: 326.2 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.72, allocations: 24 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.7207, allocations: 279.6 kB / 1.601 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.7208, allocations: 167.2 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.721, allocations: 189.1 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.7221, allocations: 1.079 MB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.893e-06/0.7221, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.755e-06/0.7221, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.7221, allocations: 4 kB / 1.603 GB, free: 138.8 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001956/0.7241, allocations: 1.17 MB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7241, allocations: 11.62 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.7251, allocations: 194.5 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.7263, allocations: 0.7077 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.7264, allocations: 58 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.7265, allocations: 79.94 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.7282, allocations: 0.8638 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.7282, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/0.7283, allocations: 43.94 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7283, allocations: 23.94 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.7304, allocations: 1.077 MB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.7346, allocations: 2.443 MB / 1.609 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7362, allocations: 0.7453 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.7369, allocations: 299.8 kB / 1.61 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.7371, allocations: 114.4 kB / 1.61 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009168/0.738, allocations: 448.8 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=73): time 4.025e-06/0.738, allocations: 0 / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73): time 0.003432/0.7415, allocations: 1.127 MB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.7415, allocations: 200.5 kB / 1.612 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.7424, allocations: 0.6215 MB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.7425, allocations: 37.7 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.7428, allocations: 392.3 kB / 1.613 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.743, allocations: 240.5 kB / 1.613 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.743, allocations: 12 kB / 1.613 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7432, allocations: 382.8 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.7438, allocations: 261.8 kB / 1.614 GB, free: 127 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.7445, allocations: 335.1 kB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.7453, allocations: 302.8 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-06/0.7453, allocations: 0 / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002169/0.7475, allocations: 0.8176 MB / 1.615 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7475, allocations: 4 kB / 1.615 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7475, allocations: 4 kB / 1.615 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/0.7481, allocations: 82.84 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.749, allocations: 159.7 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.751, allocations: 1.532 MB / 1.617 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.7518, allocations: 87.42 kB / 1.617 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.7519, allocations: 31.97 kB / 1.617 GB, free: 123.5 MB / 0.8542 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.0004912/0.7524, allocations: 267.9 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.7526, allocations: 78.97 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.7553, allocations: 1.018 MB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.7553, allocations: 8 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.7553, allocations: 7.922 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.7553, allocations: 7.938 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.7564, allocations: 0.8646 MB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.7565, allocations: 4 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.7572, allocations: 143.8 kB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005739/0.7578, allocations: 88.77 kB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.7579, allocations: 23.98 kB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.7598, allocations: 1.558 MB / 1.621 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.253e-06/0.7598, allocations: 7.891 kB / 1.621 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.7619, allocations: 0.8654 MB / 1.622 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.7624, allocations: 275.7 kB / 1.622 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.7625, allocations: 27.98 kB / 1.622 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.7632, allocations: 63.89 kB / 1.622 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.7633, allocations: 64.91 kB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.7634, allocations: 31.98 kB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006179/0.7641, allocations: 443 kB / 1.623 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-07/0.7641, allocations: 0 / 1.623 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008559/0.7649, allocations: 279.3 kB / 1.623 GB, free: 117.2 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: 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.001664/0.7666, allocations: 0.5546 MB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.7684, allocations: 0.7845 MB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.754e-06/0.7684, allocations: 4 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.7694, allocations: 0.4963 MB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7707, allocations: 272.1 kB / 1.625 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.7749, allocations: 2.162 MB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.7755, allocations: 1.03 MB / 1.628 GB, free: 112 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001071/0.7766, allocations: 248.1 kB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.7769, allocations: 99.39 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.644e-06/0.7769, allocations: 0 / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.0272/0.8041, allocations: 12.89 MB / 1.641 GB, free: 99.07 MB / 0.8542 GB