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 1.651/1.651, allocations: 285.4 MB / 298 MB, free: 5.961 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.001163/0.001163, allocations: 176.9 kB / 366.4 MB, free: 2.082 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.755/1.755, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 95.02 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.213e-05/6.225e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.797, allocations: 115.3 MB / 0.9709 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/7.237, allocations: 2.358 GB / 3.329 GB, free: 94.78 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/7.237, allocations: 94.31 kB / 3.329 GB, free: 94.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.104/11.34, allocations: 0.9272 GB / 4.256 GB, free: 182.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/11.34, allocations: 0 / 4.256 GB, free: 182.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008642/11.34, allocations: 129.6 kB / 4.256 GB, free: 182.6 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.01517/11.36, allocations: 4.267 MB / 4.26 GB, free: 181.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/11.36, allocations: 10.03 kB / 4.26 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/11.37, allocations: 1.25 MB / 4.261 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/11.38, allocations: 5.383 MB / 4.267 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/11.38, allocations: 279.5 kB / 4.267 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/11.38, allocations: 384 kB / 4.267 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/11.39, allocations: 5.022 MB / 4.272 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/11.39, allocations: 12.16 kB / 4.272 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005497/11.39, allocations: 160 kB / 4.272 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/11.39, allocations: 181.8 kB / 4.272 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008249/11.4, allocations: 4.626 MB / 4.277 GB, free: 179.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.03627/11.44, allocations: 19.32 MB / 4.296 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005435/11.44, allocations: 3.218 MB / 4.299 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/11.45, allocations: 1.668 MB / 4.301 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/11.45, allocations: 1.871 MB / 4.302 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002891/11.45, allocations: 1.847 MB / 4.304 GB, free: 170.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 4.498e-06/11.45, allocations: 7.188 kB / 4.304 GB, free: 170.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.006319/11.46, allocations: 3.12 MB / 4.307 GB, free: 169.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/11.46, allocations: 285.5 kB / 4.308 GB, free: 169.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/11.46, allocations: 3.445 MB / 4.311 GB, free: 168.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006854/11.46, allocations: 76.3 kB / 4.311 GB, free: 168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/11.47, allocations: 1.979 MB / 4.313 GB, free: 166.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/11.47, allocations: 0.9008 MB / 4.314 GB, free: 165.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/11.47, allocations: 59.66 kB / 4.314 GB, free: 165.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001681/11.47, allocations: 425 kB / 4.314 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/11.47, allocations: 1.344 MB / 4.316 GB, free: 164.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/11.47, allocations: 2.035 MB / 4.318 GB, free: 163.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/11.48, allocations: 1.701 MB / 4.319 GB, free: 162.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/11.48, allocations: 7.188 kB / 4.319 GB, free: 162.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007337/11.48, allocations: 3.957 MB / 4.323 GB, free: 161.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001668/11.48, allocations: 7.408 MB / 4.33 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/11.48, allocations: 17.41 kB / 4.33 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/11.48, allocations: 114.4 kB / 4.33 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/11.49, allocations: 0.8062 MB / 4.331 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/11.49, allocations: 1.573 MB / 4.333 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006327/11.5, allocations: 0.5299 MB / 4.333 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007094/11.5, allocations: 145 kB / 4.333 GB, free: 151.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/11.5, allocations: 3.625 kB / 4.333 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006785/11.5, allocations: 3.623 MB / 4.337 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/11.5, allocations: 15.34 kB / 4.337 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/11.51, allocations: 114.8 kB / 4.337 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/11.51, allocations: 0.8014 MB / 4.338 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/11.51, allocations: 1.562 MB / 4.339 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005269/11.52, allocations: 0.4902 MB / 4.34 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/11.52, allocations: 144.9 kB / 4.34 GB, free: 149 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 () * 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.000962/11.52, allocations: 283 kB / 4.34 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/11.52, allocations: 390.1 kB / 4.341 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/11.53, allocations: 3.925 MB / 4.345 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/11.53, allocations: 29.53 kB / 4.345 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/11.53, allocations: 6.922 kB / 4.345 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004711/11.53, allocations: 3.061 MB / 4.348 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/11.55, allocations: 8.861 MB / 4.356 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/11.55, allocations: 3.969 kB / 4.356 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/11.55, allocations: 0.6366 MB / 4.357 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/11.55, allocations: 92.61 kB / 4.357 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/11.55, allocations: 92.62 kB / 4.357 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/11.55, allocations: 1.574 MB / 4.359 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/11.55, allocations: 6.531 kB / 4.359 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/11.56, allocations: 5.836 MB / 4.364 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003696/11.57, allocations: 1.083 MB / 4.365 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/11.57, allocations: 62.33 kB / 4.365 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00419/11.57, allocations: 314.8 kB / 4.366 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/11.57, allocations: 181.2 kB / 4.366 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/11.57, allocations: 134.2 kB / 4.366 GB, free: 136.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00458/11.58, allocations: 2.705 MB / 4.369 GB, free: 135.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/11.58, allocations: 0 / 4.369 GB, free: 135.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01011/11.59, allocations: 2.445 MB / 4.371 GB, free: 135.3 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) * 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.00352/11.59, allocations: 1.633 MB / 4.373 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00962/11.6, allocations: 5.588 MB / 4.378 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/11.6, allocations: 4.562 kB / 4.378 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/11.6, allocations: 1.75 MB / 4.38 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/11.62, allocations: 2.023 MB / 4.382 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/11.63, allocations: 7.936 MB / 4.389 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/11.64, allocations: 3.128 MB / 4.393 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01205/11.65, allocations: 3.022 MB / 4.395 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/11.65, allocations: 315.7 kB / 4.396 GB, free: 120 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/11.65, allocations: 0 / 4.396 GB, free: 120 MB / 0.948 GB Notification: Performance of Templates: time 0.1599/11.81, allocations: 98.59 MB / 4.492 GB, free: 29.54 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)