Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.789/1.789, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001455/0.001454, allocations: 170.7 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008337/0.0008338, allocations: 108.2 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.03157/0.244, allocations: 38.33 MB / 1.017 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.6602/0.9042, allocations: 138 MB / 1.152 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.9074, allocations: 51.66 kB / 1.152 GB, free: 7.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.91, allocations: 494 kB / 1.152 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.9224, allocations: 3.385 MB / 1.155 GB, free: 5.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008333/0.9307, allocations: 2.481 MB / 1.158 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.9414, allocations: 7.043 MB / 1.165 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008338/0.9497, allocations: 4.618 MB / 1.169 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/0.9619, allocations: 5.319 MB / 1.174 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005588/0.9675, allocations: 2.363 MB / 1.177 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.9688, allocations: 176.8 kB / 1.177 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00909/0.9779, allocations: 3.442 MB / 1.18 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.9801, allocations: 0.9412 MB / 1.181 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002832/0.9829, allocations: 1.049 MB / 1.182 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.9953, allocations: 7.47 MB / 1.189 GB, free: 360 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9954, allocations: 0 / 1.189 GB, free: 360 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9954, allocations: 0 / 1.189 GB, free: 360 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003849/0.9958, allocations: 0 / 1.189 GB, free: 360 kB / 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.01419/1.01, allocations: 5.125 MB / 1.194 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.01, allocations: 8.031 kB / 1.194 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.023, allocations: 1.781 MB / 1.196 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/1.035, allocations: 4.41 MB / 1.201 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/1.036, allocations: 304 kB / 1.201 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/1.037, allocations: 396 kB / 1.201 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.052, allocations: 5.879 MB / 1.207 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.052, allocations: 7.938 kB / 1.207 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.053, allocations: 168 kB / 1.207 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.053, allocations: 179.7 kB / 1.207 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/1.068, allocations: 5.67 MB / 1.213 GB, free: 8.109 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.0387/1.106, allocations: 20.88 MB / 1.233 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008975/1.116, allocations: 3.856 MB / 1.237 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/1.118, allocations: 2.41 MB / 1.239 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005442/1.124, allocations: 2.142 MB / 1.241 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=284): time 8.115e-06/1.124, allocations: 0 / 1.241 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=284): time 0.0187/1.142, allocations: 6.87 MB / 1.248 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.143, allocations: 235.9 kB / 1.248 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006943/1.15, allocations: 3.621 MB / 1.252 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0008069/1.15, allocations: 81.64 kB / 1.252 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.153, allocations: 2.015 MB / 1.254 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.155, allocations: 0.9666 MB / 1.255 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006234/1.155, allocations: 60 kB / 1.255 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003485/1.156, allocations: 424.2 kB / 1.255 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/1.16, allocations: 1.602 MB / 1.257 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004867/1.165, allocations: 2.231 MB / 1.259 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/1.17, allocations: 1.947 MB / 1.261 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/1.17, allocations: 4 kB / 1.261 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01243/1.183, allocations: 4.488 MB / 1.265 GB, free: 312 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002528/1.185, allocations: 6.656 MB / 1.272 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/1.185, allocations: 16 kB / 1.272 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/1.186, allocations: 112.8 kB / 1.272 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/1.19, allocations: 0.7917 MB / 1.273 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/1.193, allocations: 2.17 MB / 1.275 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/1.198, allocations: 0.5139 MB / 1.275 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008159/1.199, allocations: 159.9 kB / 1.276 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.199, allocations: 5.094 kB / 1.276 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.21, allocations: 4.15 MB / 1.28 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/1.21, allocations: 19.95 kB / 1.28 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/1.211, allocations: 113.1 kB / 1.28 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/1.215, allocations: 0.7762 MB / 1.28 GB, free: 76 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/1.217, allocations: 1.583 MB / 1.282 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.222, allocations: 492.8 kB / 1.282 GB, free: 13.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006178/1.222, allocations: 159.9 kB / 1.283 GB, free: 13.71 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.003825/1.226, allocations: 1.554 MB / 1.284 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.228, allocations: 391.2 kB / 1.285 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.242, allocations: 5.09 MB / 1.29 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/1.242, allocations: 28 kB / 1.29 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.242, allocations: 0 / 1.29 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/1.253, allocations: 4.105 MB / 1.294 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.276, allocations: 9.688 MB / 1.303 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.276, allocations: 0 / 1.303 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/1.279, allocations: 0.6086 MB / 1.304 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003031/1.283, allocations: 0.6598 MB / 1.304 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/1.283, allocations: 99.91 kB / 1.304 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005536/1.289, allocations: 7.555 MB / 1.312 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.289, allocations: 4.031 kB / 1.312 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/1.306, allocations: 6.856 MB / 1.318 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003605/1.31, allocations: 1.085 MB / 1.319 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/1.311, allocations: 55.98 kB / 1.32 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004589/1.316, allocations: 314.5 kB / 1.32 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005176/1.317, allocations: 194 kB / 1.32 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005169/1.317, allocations: 139.9 kB / 1.32 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005151/1.322, allocations: 2.546 MB / 1.323 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.61e-07/1.322, allocations: 4 kB / 1.323 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01026/1.333, allocations: 2.54 MB / 1.325 GB, free: 1.301 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.00323/1.336, allocations: 1.09 MB / 1.326 GB, free: 328 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.352, allocations: 6.328 MB / 1.332 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.352, allocations: 0.5625 kB / 1.332 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005479/1.358, allocations: 2.183 MB / 1.334 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009689/1.367, allocations: 1.907 MB / 1.336 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.391, allocations: 11.61 MB / 1.348 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003801/1.394, allocations: 3.2 MB / 1.351 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0108/1.405, allocations: 2.319 MB / 1.353 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/1.407, allocations: 443.1 kB / 1.354 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of SimCode: time 9.72e-07/1.407, allocations: 0 / 1.354 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of Templates: time 0.147/1.554, allocations: 82.67 MB / 1.434 GB, free: 1.918 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)