Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.001/2.001, allocations: 288.3 MB / 303.2 MB, free: 8.094 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.001318/0.001318, allocations: 186 kB / 371.8 MB, free: 10.26 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.166/2.166, 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.001166/0.001166, allocations: 89.88 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 15.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3376, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.966/7.304, allocations: 2.358 GB / 3.337 GB, free: 262.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/7.304, allocations: 103.5 kB / 3.337 GB, free: 262.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.505/10.81, allocations: 0.9298 GB / 4.267 GB, free: 72.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405e-06/10.81, allocations: 0 / 4.267 GB, free: 72.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009311/10.81, allocations: 123.8 kB / 4.267 GB, free: 72.35 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02016/10.83, allocations: 5.101 MB / 4.272 GB, free: 67.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/10.83, allocations: 8.031 kB / 4.272 GB, free: 67.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009255/10.84, allocations: 1.254 MB / 4.273 GB, free: 65.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/10.86, allocations: 5.413 MB / 4.279 GB, free: 60.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/10.86, allocations: 275.4 kB / 4.279 GB, free: 60.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/10.86, allocations: 383.9 kB / 4.279 GB, free: 59.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/10.88, allocations: 5.352 MB / 4.284 GB, free: 54.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004538/10.88, allocations: 7.938 kB / 4.285 GB, free: 54.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00229/10.88, allocations: 167.9 kB / 4.285 GB, free: 54.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/10.89, allocations: 171.2 kB / 4.285 GB, free: 53.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/10.9, allocations: 5.243 MB / 4.29 GB, free: 48.68 MB / 0.948 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.04264/10.94, allocations: 19.34 MB / 4.309 GB, free: 28.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/10.95, allocations: 3.588 MB / 4.312 GB, free: 25.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002103/10.95, allocations: 1.864 MB / 4.314 GB, free: 22.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005275/10.96, allocations: 2.049 MB / 4.316 GB, free: 20.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.158e-05/10.96, allocations: 4 kB / 4.316 GB, free: 20.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.015/10.97, allocations: 5.088 MB / 4.321 GB, free: 15.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/10.97, allocations: 291.1 kB / 4.321 GB, free: 15.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009278/10.98, allocations: 3.488 MB / 4.325 GB, free: 11.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009681/10.98, allocations: 73.7 kB / 4.325 GB, free: 11.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/10.99, allocations: 1.967 MB / 4.327 GB, free: 9.734 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/10.99, allocations: 0.9011 MB / 4.328 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/10.99, allocations: 60 kB / 4.328 GB, free: 8.762 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003199/10.99, allocations: 424 kB / 4.328 GB, free: 8.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/10.99, allocations: 1.559 MB / 4.33 GB, free: 6.777 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/11, allocations: 2.257 MB / 4.332 GB, free: 4.242 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/11, allocations: 1.902 MB / 4.334 GB, free: 2.324 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/11, allocations: 4 kB / 4.334 GB, free: 2.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.7906/11.79, allocations: 4.384 MB / 4.338 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00244/11.8, allocations: 7.413 MB / 4.345 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.595e-05/11.8, allocations: 17.62 kB / 4.345 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009592/11.8, allocations: 111.1 kB / 4.345 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005988/11.8, allocations: 0.8062 MB / 4.346 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/11.81, allocations: 1.589 MB / 4.348 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/11.81, allocations: 0.5262 MB / 4.348 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/11.81, allocations: 147.7 kB / 4.348 GB, free: 150.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/11.81, allocations: 4 kB / 4.348 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/11.83, allocations: 4.051 MB / 4.352 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/11.83, allocations: 16.47 kB / 4.352 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/11.83, allocations: 118.5 kB / 4.352 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/11.83, allocations: 0.804 MB / 4.353 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/11.83, allocations: 1.581 MB / 4.355 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/11.84, allocations: 489.8 kB / 4.355 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006632/11.84, allocations: 150.6 kB / 4.355 GB, free: 149.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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.00488/11.84, allocations: 1.509 MB / 4.357 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/11.85, allocations: 382.9 kB / 4.357 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/11.86, allocations: 4.356 MB / 4.361 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/11.86, allocations: 31.91 kB / 4.362 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/11.86, allocations: 3.156 kB / 4.362 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008892/11.87, allocations: 3.485 MB / 4.365 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/11.89, allocations: 9.281 MB / 4.374 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/11.89, allocations: 4.062 kB / 4.374 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003699/11.9, allocations: 0.633 MB / 4.375 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005955/11.9, allocations: 96.64 kB / 4.375 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/11.9, allocations: 95.2 kB / 4.375 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/11.9, allocations: 1.58 MB / 4.376 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/11.9, allocations: 10.92 kB / 4.376 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/11.91, allocations: 6.463 MB / 4.383 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/11.92, allocations: 1.088 MB / 4.384 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/11.92, allocations: 62.34 kB / 4.384 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00521/11.93, allocations: 309.8 kB / 4.384 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005638/11.93, allocations: 187.3 kB / 4.384 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006434/11.93, allocations: 133.5 kB / 4.384 GB, free: 144.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008562/11.94, allocations: 2.742 MB / 4.387 GB, free: 144.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.805e-06/11.94, allocations: 0 / 4.387 GB, free: 144.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0177/11.95, allocations: 2.452 MB / 4.389 GB, free: 144.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * 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.006171/11.96, allocations: 1.649 MB / 4.391 GB, free: 144.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02315/11.98, allocations: 6.117 MB / 4.397 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/11.98, allocations: 11.33 kB / 4.397 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005762/11.99, allocations: 1.953 MB / 4.399 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/12, allocations: 2.018 MB / 4.401 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/12.03, allocations: 11.24 MB / 4.412 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004282/12.04, allocations: 3.127 MB / 4.415 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009776/12.05, allocations: 2.064 MB / 4.417 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/12.05, allocations: 398.4 kB / 4.417 GB, free: 139 MB / 0.948 GB Notification: Performance of SimCode: time 1.923e-06/12.05, allocations: 0 / 4.417 GB, free: 139 MB / 0.948 GB Notification: Performance of Templates: time 0.1666/12.21, allocations: 90.63 MB / 4.506 GB, free: 133.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)