Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.437/2.437, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 180.8 kB / 360.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.2 MB / 0.6192 GB, free: 12.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 91.11 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.539e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.826, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/7.144, allocations: 2.109 GB / 3.072 GB, free: 10.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/7.144, allocations: 94.44 kB / 3.073 GB, free: 10.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.704/14.85, allocations: 1.401 GB / 4.474 GB, free: 96.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/14.85, allocations: 0 / 4.474 GB, free: 96.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009057/14.85, allocations: 131.9 kB / 4.474 GB, free: 96.27 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02184/14.87, allocations: 5.527 MB / 4.479 GB, free: 90.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/14.87, allocations: 12.03 kB / 4.479 GB, free: 90.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01869/14.89, allocations: 1.598 MB / 4.481 GB, free: 89.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02108/14.91, allocations: 5.23 MB / 4.486 GB, free: 83.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/14.91, allocations: 120 kB / 4.486 GB, free: 83.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/14.91, allocations: 219.9 kB / 4.486 GB, free: 83.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01368/14.93, allocations: 4.431 MB / 4.49 GB, free: 78.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/14.94, allocations: 4.606 MB / 4.495 GB, free: 74.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/14.94, allocations: 7.938 kB / 4.495 GB, free: 74.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/14.94, allocations: 4 kB / 4.495 GB, free: 74.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/14.94, allocations: 155.3 kB / 4.495 GB, free: 74.06 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.04912/14.99, allocations: 18.49 MB / 4.513 GB, free: 55.15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/15, allocations: 3.274 MB / 4.516 GB, free: 51.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/15.01, allocations: 1.622 MB / 4.518 GB, free: 50.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003253/15.01, allocations: 2.529 MB / 4.52 GB, free: 47.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004796/15.01, allocations: 1.827 MB / 4.522 GB, free: 45.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 6.512e-06/15.01, allocations: 0 / 4.522 GB, free: 45.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.1287/15.14, allocations: 8.052 MB / 4.53 GB, free: 37.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/15.14, allocations: 295.2 kB / 4.53 GB, free: 36.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/15.15, allocations: 2.855 MB / 4.533 GB, free: 33.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009545/15.15, allocations: 29.7 kB / 4.533 GB, free: 33.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/15.15, allocations: 1.943 MB / 4.535 GB, free: 31.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/15.15, allocations: 0.9314 MB / 4.536 GB, free: 31.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/15.15, allocations: 0 / 4.536 GB, free: 31.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002284/15.15, allocations: 424.1 kB / 4.536 GB, free: 30.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/15.16, allocations: 1.337 MB / 4.538 GB, free: 29.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/15.16, allocations: 1.963 MB / 4.54 GB, free: 27.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3324/15.49, allocations: 13.35 MB / 4.553 GB, free: 13.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.615e-05/15.49, allocations: 4 kB / 4.553 GB, free: 13.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 1.106/16.6, allocations: 15.46 MB / 4.568 GB, free: 147.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001429/16.6, allocations: 6.441 MB / 4.574 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.838e-05/16.6, allocations: 19.12 kB / 4.574 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/16.6, allocations: 113 kB / 4.574 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00823/16.61, allocations: 0.7958 MB / 4.575 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/16.61, allocations: 2.094 MB / 4.577 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008696/16.62, allocations: 445.6 kB / 4.577 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/16.62, allocations: 162.5 kB / 4.578 GB, free: 138.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/16.62, allocations: 3.5 kB / 4.578 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.344/16.97, allocations: 15.09 MB / 4.592 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/16.97, allocations: 18.03 kB / 4.592 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009423/16.97, allocations: 107.7 kB / 4.592 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007613/16.98, allocations: 0.781 MB / 4.593 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/16.98, allocations: 1.497 MB / 4.595 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008365/16.99, allocations: 406.5 kB / 4.595 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/16.99, allocations: 162 kB / 4.595 GB, free: 137.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * 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.001213/16.99, allocations: 177.4 kB / 4.595 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/16.99, allocations: 359.3 kB / 4.596 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1324/17.12, allocations: 8.96 MB / 4.604 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/17.12, allocations: 28.97 kB / 4.604 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/17.12, allocations: 7.562 kB / 4.604 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1286/17.25, allocations: 7.963 MB / 4.612 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1527/17.41, allocations: 13.35 MB / 4.625 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/17.41, allocations: 1.906 kB / 4.625 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006635/17.41, allocations: 0.6115 MB / 4.626 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/17.42, allocations: 462.3 kB / 4.626 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/17.42, allocations: 66.58 kB / 4.626 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/17.43, allocations: 7.512 MB / 4.634 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/17.43, allocations: 3.875 kB / 4.634 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1763/17.61, allocations: 10.43 MB / 4.644 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004851/17.61, allocations: 1.107 MB / 4.645 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/17.61, allocations: 8.219 kB / 4.645 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007961/17.62, allocations: 270.1 kB / 4.645 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/17.62, allocations: 187.7 kB / 4.645 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007919/17.62, allocations: 131.8 kB / 4.646 GB, free: 128.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006737/17.63, allocations: 2.196 MB / 4.648 GB, free: 128.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.91e-07/17.63, allocations: 0 / 4.648 GB, free: 128.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01628/17.65, allocations: 2.75 MB / 4.65 GB, free: 128.3 MB / 0.948 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) * 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.005925/17.65, allocations: 1.82 MB / 4.652 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01594/17.67, allocations: 5.529 MB / 4.658 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/17.67, allocations: 4.312 kB / 4.658 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006243/17.67, allocations: 1.881 MB / 4.659 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/17.69, allocations: 1.695 MB / 4.661 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/17.71, allocations: 7.832 MB / 4.669 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005442/17.72, allocations: 3.151 MB / 4.672 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01996/17.74, allocations: 3.334 MB / 4.675 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/17.74, allocations: 336.3 kB / 4.675 GB, free: 124.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/17.74, allocations: 0 / 4.675 GB, free: 124.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1985/17.94, allocations: 83.61 MB / 4.757 GB, free: 119 MB / 0.948 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)