Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.155/2.155, allocations: 248.7 MB / 256.2 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 183.4 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 96.22 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.249e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2048, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.27, allocations: 2.192 GB / 3.076 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/7.27, allocations: 87.8 kB / 3.076 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2323/7.502, allocations: 63.08 MB / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/7.502, allocations: 0 / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.248e-05/7.503, allocations: 27.94 kB / 3.137 GB, free: 105.8 MB / 0.8698 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.00234/7.505, allocations: 1.086 MB / 3.138 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/7.505, allocations: 8.031 kB / 3.138 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/7.506, allocations: 194.5 kB / 3.139 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/7.508, allocations: 0.6277 MB / 3.139 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/7.508, allocations: 27.98 kB / 3.139 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/7.508, allocations: 48 kB / 3.139 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002175/7.511, allocations: 0.9757 MB / 3.14 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/7.512, allocations: 0.7271 MB / 3.141 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/7.512, allocations: 3.953 kB / 3.141 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/7.512, allocations: 4 kB / 3.141 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/7.513, allocations: 16 kB / 3.141 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/7.518, allocations: 2.318 MB / 3.143 GB, free: 99.56 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/7.52, allocations: 0.6656 MB / 3.144 GB, free: 98.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/7.52, allocations: 251.1 kB / 3.144 GB, free: 98.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/7.52, allocations: 113.9 kB / 3.144 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008154/7.521, allocations: 397 kB / 3.145 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.236e-06/7.521, allocations: 0 / 3.145 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002633/7.524, allocations: 0.6835 MB / 3.145 GB, free: 97.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/7.524, allocations: 240.1 kB / 3.146 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/7.525, allocations: 0.5386 MB / 3.146 GB, free: 96.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/7.525, allocations: 29.7 kB / 3.146 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/7.526, allocations: 396.2 kB / 3.146 GB, free: 96.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/7.526, allocations: 232.4 kB / 3.147 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/7.526, allocations: 0 / 3.147 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.526, allocations: 382.8 kB / 3.147 GB, free: 95.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/7.527, allocations: 201.5 kB / 3.147 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/7.527, allocations: 307.4 kB / 3.148 GB, free: 95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/7.528, allocations: 248.5 kB / 3.148 GB, free: 94.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/7.528, allocations: 0 / 3.148 GB, free: 94.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002444/7.53, allocations: 0.6719 MB / 3.148 GB, free: 94.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/7.53, allocations: 8 kB / 3.148 GB, free: 94.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/7.53, allocations: 4 kB / 3.148 GB, free: 94.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/7.531, allocations: 84.78 kB / 3.148 GB, free: 93.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/7.533, allocations: 139.8 kB / 3.149 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/7.535, allocations: 1.461 MB / 3.15 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/7.536, allocations: 63.56 kB / 3.15 GB, free: 92.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/7.536, allocations: 27.98 kB / 3.15 GB, free: 92.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0002412/7.537, allocations: 120.8 kB / 3.15 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002479/7.539, allocations: 0.6796 MB / 3.151 GB, free: 91.35 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/7.539, allocations: 79.06 kB / 3.151 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/7.543, allocations: 0.923 MB / 3.152 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/7.543, allocations: 11.95 kB / 3.152 GB, free: 90.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/7.543, allocations: 0 / 3.152 GB, free: 90.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/7.543, allocations: 7.984 kB / 3.152 GB, free: 90.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/7.544, allocations: 0.7711 MB / 3.153 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/7.544, allocations: 0 / 3.153 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/7.545, allocations: 155.8 kB / 3.153 GB, free: 89.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/7.546, allocations: 80.77 kB / 3.153 GB, free: 89.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/7.546, allocations: 15.98 kB / 3.153 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/7.549, allocations: 1.489 MB / 3.154 GB, free: 87.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/7.549, allocations: 3.953 kB / 3.154 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/7.551, allocations: 0.7816 MB / 3.155 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/7.552, allocations: 287.7 kB / 3.155 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/7.552, allocations: 0 / 3.155 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/7.553, allocations: 59.94 kB / 3.155 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/7.553, allocations: 60.69 kB / 3.156 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/7.553, allocations: 31.98 kB / 3.156 GB, free: 86.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007232/7.554, allocations: 439.1 kB / 3.156 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/7.554, allocations: 0 / 3.156 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001372/7.556, allocations: 315.1 kB / 3.156 GB, free: 85.66 MB / 0.8698 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) * 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.00488/7.56, allocations: 2.302 MB / 3.159 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001862/7.562, allocations: 0.655 MB / 3.159 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/7.562, allocations: 0 / 3.159 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/7.564, allocations: 452.7 kB / 3.16 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/7.565, allocations: 234.7 kB / 3.16 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/7.571, allocations: 1.51 MB / 3.161 GB, free: 80.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/7.572, allocations: 1.031 MB / 3.162 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001361/7.573, allocations: 249.8 kB / 3.163 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/7.574, allocations: 379.3 kB / 3.163 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of SimCode: time 1.783e-06/7.574, allocations: 4 kB / 3.163 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/7.663, allocations: 23.87 MB / 3.186 GB, free: 55.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/7.664, allocations: 194.1 kB / 3.186 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/11.43, allocations: 0 / 3.186 GB, free: 54.89 MB / 0.8698 GB