Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.74/2.74, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 189.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 92.27 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 12.47 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.04005/0.2616, allocations: 30.89 MB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8848/1.146, allocations: 135.6 MB / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/1.149, allocations: 51.41 kB / 1.141 GB, free: 14.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/1.153, allocations: 0.5229 MB / 1.141 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00847/1.161, allocations: 1.683 MB / 1.143 GB, free: 13.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00867/1.17, allocations: 1.792 MB / 1.145 GB, free: 13.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01486/1.185, allocations: 6.845 MB / 1.151 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/1.196, allocations: 4.559 MB / 1.156 GB, free: 7.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/1.205, allocations: 2.773 MB / 1.159 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007216/1.212, allocations: 2.302 MB / 1.161 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/1.214, allocations: 176.5 kB / 1.161 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007114/1.221, allocations: 0.9961 MB / 1.162 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002827/1.224, allocations: 0.9065 MB / 1.163 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003324/1.227, allocations: 1.047 MB / 1.164 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.241, allocations: 6.853 MB / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.241, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.175e-06/1.241, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003839/1.241, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.0191/1.26, allocations: 4.952 MB / 1.175 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.26, allocations: 8.531 kB / 1.175 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/1.275, allocations: 1.424 MB / 1.177 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.293, allocations: 4.619 MB / 1.181 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/1.293, allocations: 304.7 kB / 1.182 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/1.295, allocations: 400 kB / 1.182 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.318, allocations: 5.789 MB / 1.188 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/1.318, allocations: 9.828 kB / 1.188 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/1.32, allocations: 168 kB / 1.188 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/1.32, allocations: 179.7 kB / 1.188 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/1.344, allocations: 5.592 MB / 1.193 GB, free: 12.87 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05696/1.401, allocations: 20.26 MB / 1.213 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.417, allocations: 3.618 MB / 1.217 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/1.421, allocations: 1.907 MB / 1.219 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00893/1.43, allocations: 2.065 MB / 1.221 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=266): time 7.464e-06/1.43, allocations: 0 / 1.221 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=266): time 0.02538/1.456, allocations: 5.132 MB / 1.226 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/1.456, allocations: 239.7 kB / 1.226 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00999/1.466, allocations: 3.759 MB / 1.23 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009969/1.467, allocations: 81.7 kB / 1.23 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.47, allocations: 2.038 MB / 1.232 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.472, allocations: 0.9049 MB / 1.232 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/1.473, allocations: 60 kB / 1.233 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003627/1.473, allocations: 424 kB / 1.233 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006879/1.48, allocations: 1.552 MB / 1.234 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007998/1.488, allocations: 2.239 MB / 1.237 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007835/1.496, allocations: 1.895 MB / 1.238 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-05/1.496, allocations: 8 kB / 1.238 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01891/1.515, allocations: 4.383 MB / 1.243 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003535/1.518, allocations: 7.618 MB / 1.25 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-05/1.519, allocations: 20 kB / 1.25 GB, free: 440 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/1.52, allocations: 116.7 kB / 1.25 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007879/1.528, allocations: 0.8034 MB / 1.251 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/1.531, allocations: 1.571 MB / 1.253 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007547/1.539, allocations: 0.5315 MB / 1.253 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009825/1.54, allocations: 147.9 kB / 1.253 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.54, allocations: 4 kB / 1.253 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01781/1.557, allocations: 4.05 MB / 1.257 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/1.558, allocations: 16.19 kB / 1.257 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/1.558, allocations: 113.1 kB / 1.257 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/1.566, allocations: 0.8034 MB / 1.258 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/1.569, allocations: 1.582 MB / 1.26 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007321/1.577, allocations: 0.4889 MB / 1.26 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009579/1.578, allocations: 147.9 kB / 1.26 GB, free: 5.734 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * 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.004825/1.583, allocations: 1.537 MB / 1.262 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.584, allocations: 387.3 kB / 1.262 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.604, allocations: 4.487 MB / 1.267 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/1.604, allocations: 40 kB / 1.267 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.604, allocations: 3.938 kB / 1.267 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01553/1.62, allocations: 3.5 MB / 1.27 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03536/1.655, allocations: 9.336 MB / 1.279 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.655, allocations: 4 kB / 1.279 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006944/1.662, allocations: 0.6285 MB / 1.28 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009719/1.663, allocations: 100.7 kB / 1.28 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000815/1.664, allocations: 91.92 kB / 1.28 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/1.667, allocations: 1.583 MB / 1.282 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.667, allocations: 7.938 kB / 1.282 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/1.694, allocations: 6.719 MB / 1.288 GB, free: 8.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004325/1.698, allocations: 1.085 MB / 1.289 GB, free: 7.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/1.7, allocations: 60 kB / 1.289 GB, free: 7.422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007146/1.707, allocations: 330.4 kB / 1.29 GB, free: 7.102 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008803/1.708, allocations: 185.8 kB / 1.29 GB, free: 6.918 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006071/1.708, allocations: 143.8 kB / 1.29 GB, free: 6.777 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007383/1.716, allocations: 2.652 MB / 1.292 GB, free: 4.145 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.716, allocations: 3.938 kB / 1.292 GB, free: 4.141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01073/1.727, allocations: 2.302 MB / 1.295 GB, free: 1.832 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (284): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003332/1.73, allocations: 0.8806 MB / 1.296 GB, free: 1.129 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02464/1.755, allocations: 6.157 MB / 1.302 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.755, allocations: 8.938 kB / 1.302 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00826/1.763, allocations: 2.015 MB / 1.304 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/1.78, allocations: 2.04 MB / 1.306 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/1.812, allocations: 11.54 MB / 1.317 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006045/1.818, allocations: 3.18 MB / 1.32 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01456/1.833, allocations: 2.066 MB / 1.322 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002907/1.836, allocations: 399.2 kB / 1.322 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of SimCode: time 1.332e-06/1.836, allocations: 4 kB / 1.322 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.2218/2.058, allocations: 80.44 MB / 1.401 GB, free: 5.605 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)