Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.002157/0.002157, allocations: 191.8 kB / 370.8 MB, free: 10.86 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.527/2.527, allocations: 205.4 MB / 0.6295 GB, free: 10.54 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.001122/0.001121, allocations: 92.86 kB / 0.7428 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 12.16 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2199, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05595/0.276, allocations: 38.33 MB / 1.016 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8921/1.168, allocations: 138 MB / 1.15 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/1.171, allocations: 47.62 kB / 1.15 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00284/1.174, allocations: 492.9 kB / 1.151 GB, free: 7.652 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/1.189, allocations: 3.385 MB / 1.154 GB, free: 6.012 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/1.201, allocations: 2.482 MB / 1.157 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01611/1.217, allocations: 7.043 MB / 1.163 GB, free: 292 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/1.229, allocations: 4.622 MB / 1.168 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01632/1.245, allocations: 5.32 MB / 1.173 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006966/1.252, allocations: 2.361 MB / 1.175 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001426/1.254, allocations: 177.8 kB / 1.176 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/1.266, allocations: 3.447 MB / 1.179 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002589/1.269, allocations: 0.9358 MB / 1.18 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00277/1.272, allocations: 1.061 MB / 1.181 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01487/1.287, allocations: 7.461 MB / 1.188 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.287, allocations: 3.938 kB / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.856e-06/1.287, allocations: 0 / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003386/1.287, allocations: 0 / 1.188 GB, free: 1.484 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01887/1.306, allocations: 5.125 MB / 1.193 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.306, allocations: 8.031 kB / 1.193 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0206/1.327, allocations: 1.769 MB / 1.195 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/1.344, allocations: 4.418 MB / 1.199 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004326/1.344, allocations: 300 kB / 1.2 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/1.346, allocations: 399.9 kB / 1.2 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/1.368, allocations: 5.875 MB / 1.206 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/1.368, allocations: 3.938 kB / 1.206 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/1.369, allocations: 187.8 kB / 1.206 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/1.37, allocations: 167.8 kB / 1.206 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/1.393, allocations: 5.674 MB / 1.212 GB, free: 9.246 MB / 0.7448 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.05819/1.452, allocations: 20.89 MB / 1.232 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.468, allocations: 3.851 MB / 1.236 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004273/1.472, allocations: 2.402 MB / 1.238 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009322/1.481, allocations: 2.139 MB / 1.24 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=284): time 7.153e-06/1.481, allocations: 0 / 1.24 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=284): time 0.03285/1.514, allocations: 6.866 MB / 1.247 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/1.514, allocations: 239.8 kB / 1.247 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008989/1.523, allocations: 3.621 MB / 1.251 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0009013/1.524, allocations: 81.7 kB / 1.251 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003023/1.527, allocations: 2.015 MB / 1.253 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/1.53, allocations: 0.9626 MB / 1.254 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/1.53, allocations: 60 kB / 1.254 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003299/1.53, allocations: 428.2 kB / 1.254 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006996/1.537, allocations: 1.606 MB / 1.256 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00815/1.545, allocations: 2.227 MB / 1.258 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00799/1.554, allocations: 1.939 MB / 1.26 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/1.554, allocations: 8 kB / 1.26 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01897/1.573, allocations: 4.488 MB / 1.264 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003177/1.576, allocations: 6.656 MB / 1.271 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.802e-05/1.576, allocations: 16 kB / 1.271 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.577, allocations: 112.7 kB / 1.271 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007931/1.585, allocations: 0.7956 MB / 1.272 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.589, allocations: 2.169 MB / 1.274 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008222/1.597, allocations: 0.5198 MB / 1.274 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.598, allocations: 159.9 kB / 1.274 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.598, allocations: 4 kB / 1.274 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0176/1.616, allocations: 4.154 MB / 1.278 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.616, allocations: 12 kB / 1.278 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009769/1.617, allocations: 113.3 kB / 1.279 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007738/1.625, allocations: 0.7839 MB / 1.279 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/1.628, allocations: 1.576 MB / 1.281 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008285/1.636, allocations: 497.5 kB / 1.281 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.637, allocations: 155.9 kB / 1.281 GB, free: 14.86 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005037/1.642, allocations: 1.546 MB / 1.283 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.644, allocations: 399.1 kB / 1.283 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0246/1.669, allocations: 5.092 MB / 1.288 GB, free: 7.73 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-05/1.669, allocations: 31.98 kB / 1.288 GB, free: 7.699 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.669, allocations: 0 / 1.288 GB, free: 7.699 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01926/1.688, allocations: 4.094 MB / 1.292 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/1.726, allocations: 9.684 MB / 1.302 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/1.726, allocations: 0 / 1.302 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007221/1.734, allocations: 0.6125 MB / 1.302 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005421/1.739, allocations: 0.6754 MB / 1.303 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008441/1.74, allocations: 95.91 kB / 1.303 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00932/1.749, allocations: 7.543 MB / 1.311 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.749, allocations: 4.062 kB / 1.311 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02971/1.779, allocations: 6.86 MB / 1.317 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004253/1.783, allocations: 1.085 MB / 1.318 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/1.785, allocations: 59.95 kB / 1.318 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007316/1.792, allocations: 314.5 kB / 1.319 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009806/1.793, allocations: 190.1 kB / 1.319 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000635/1.794, allocations: 139.9 kB / 1.319 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007323/1.801, allocations: 2.546 MB / 1.321 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/1.802, allocations: 0 / 1.321 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01366/1.815, allocations: 2.548 MB / 1.324 GB, free: 2.434 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004516/1.82, allocations: 1.089 MB / 1.325 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02639/1.846, allocations: 6.317 MB / 1.331 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/1.846, allocations: 4.562 kB / 1.331 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009647/1.856, allocations: 2.184 MB / 1.333 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/1.871, allocations: 1.898 MB / 1.335 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.905, allocations: 11.61 MB / 1.346 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006001/1.911, allocations: 3.212 MB / 1.35 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0156/1.927, allocations: 2.322 MB / 1.352 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/1.93, allocations: 443.1 kB / 1.352 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of SimCode: time 1.753e-06/1.93, allocations: 0 / 1.352 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of Templates: time 0.2296/2.16, allocations: 82.66 MB / 1.433 GB, free: 3.172 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)