Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.SimpleHouse") translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001048/0.001048, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.734/1.734, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008919/0.0008919, allocations: 91.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.519e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.695, allocations: 116.3 MB / 0.9732 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.137/6.832, allocations: 2.412 GB / 3.385 GB, free: 25.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.833, allocations: 91.52 kB / 3.385 GB, free: 25.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.7/21.53, allocations: 3.676 GB / 7.061 GB, free: 74.54 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.725e-06/21.53, allocations: 0 / 7.061 GB, free: 74.54 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001477/21.53, allocations: 186 kB / 7.061 GB, free: 74.5 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1198 * Number of variables: 1198 Notification: Performance of Generate backend data structure: time 0.02997/21.56, allocations: 6.673 MB / 7.068 GB, free: 71.42 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/21.56, allocations: 6.562 kB / 7.068 GB, free: 71.42 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/21.58, allocations: 2.615 MB / 7.07 GB, free: 71.01 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02681/21.61, allocations: 7.75 MB / 7.078 GB, free: 69.84 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004467/21.61, allocations: 159.8 kB / 7.078 GB, free: 69.84 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/21.61, allocations: 300.2 kB / 7.078 GB, free: 69.84 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01135/21.62, allocations: 4.809 MB / 7.083 GB, free: 69.82 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/21.64, allocations: 5.128 MB / 7.088 GB, free: 69.01 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/21.64, allocations: 18.22 kB / 7.088 GB, free: 69 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00063/21.64, allocations: 17.12 kB / 7.088 GB, free: 69 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/21.64, allocations: 191.5 kB / 7.088 GB, free: 68.99 MB / 1.073 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.04581/21.68, allocations: 25.9 MB / 7.113 GB, free: 56.55 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008523/21.69, allocations: 3.948 MB / 7.117 GB, free: 56.37 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0043/21.69, allocations: 2.217 MB / 7.119 GB, free: 56.33 MB / 1.073 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 evalFunc (simulation): time 0.02624/21.72, allocations: 8.401 MB / 7.128 GB, free: 54.64 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003967/21.73, allocations: 1.988 MB / 7.129 GB, free: 54.5 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004151/21.73, allocations: 381.5 kB / 7.13 GB, free: 54.38 MB / 1.073 GB Notification: Performance of pre-optimization done (n=297): time 2.586e-05/21.73, allocations: 0 / 7.13 GB, free: 54.38 MB / 1.073 GB Notification: Performance of matching and sorting (n=297): time 0.01143/21.74, allocations: 4.012 MB / 7.134 GB, free: 53.59 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/21.74, allocations: 448.9 kB / 7.134 GB, free: 53.09 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/21.75, allocations: 4.083 MB / 7.138 GB, free: 51.5 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/21.75, allocations: 36.08 kB / 7.138 GB, free: 51.47 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004281/21.76, allocations: 2.99 MB / 7.141 GB, free: 49.15 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/21.76, allocations: 0.967 MB / 7.142 GB, free: 48.39 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/21.76, allocations: 0 / 7.142 GB, free: 48.39 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0005275/21.76, allocations: 455.8 kB / 7.143 GB, free: 48.02 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/21.77, allocations: 1.521 MB / 7.144 GB, free: 47.44 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004965/21.77, allocations: 2.724 MB / 7.147 GB, free: 45.34 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/21.78, allocations: 2.068 MB / 7.149 GB, free: 44.61 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.525e-05/21.78, allocations: 6.844 kB / 7.149 GB, free: 44.61 MB / 1.073 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01456/21.79, allocations: 5.11 MB / 7.154 GB, free: 42.78 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002929/21.79, allocations: 13.35 MB / 7.167 GB, free: 28.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.282e-05/21.79, allocations: 34.27 kB / 7.167 GB, free: 28.62 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/21.8, allocations: 0.617 MB / 7.167 GB, free: 28.46 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/21.8, allocations: 0.8688 MB / 7.168 GB, free: 28.38 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/21.81, allocations: 5.546 MB / 7.174 GB, free: 23.3 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00955/21.82, allocations: 404.4 kB / 7.174 GB, free: 23.01 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/21.82, allocations: 194.2 kB / 7.174 GB, free: 22.84 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/21.82, allocations: 8 kB / 7.174 GB, free: 22.84 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/21.83, allocations: 4.329 MB / 7.178 GB, free: 19.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/21.83, allocations: 31.89 kB / 7.178 GB, free: 19.07 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/21.84, allocations: 0.6423 MB / 7.179 GB, free: 18.56 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/21.84, allocations: 0.8532 MB / 7.18 GB, free: 17.85 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/21.85, allocations: 5.536 MB / 7.185 GB, free: 12.32 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007121/21.86, allocations: 375.4 kB / 7.186 GB, free: 12.05 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/21.86, allocations: 193.8 kB / 7.186 GB, free: 11.88 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002335/21.86, allocations: 227.7 kB / 7.186 GB, free: 11.65 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002746/21.86, allocations: 0.544 MB / 7.187 GB, free: 11.1 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/21.87, allocations: 4.472 MB / 7.191 GB, free: 7.391 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/21.87, allocations: 32 kB / 7.191 GB, free: 7.359 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/21.87, allocations: 4 kB / 7.191 GB, free: 7.355 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007143/21.88, allocations: 3.486 MB / 7.194 GB, free: 4.289 MB / 1.073 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 postOpt removeSimpleEquations (simulation): time 0.02965/21.91, allocations: 9.374 MB / 7.204 GB, free: 13.1 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/21.91, allocations: 8.062 kB / 7.204 GB, free: 13.09 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/21.91, allocations: 0.6259 MB / 7.204 GB, free: 12.58 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/21.92, allocations: 453.6 kB / 7.205 GB, free: 12.2 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006596/21.92, allocations: 61.08 kB / 7.205 GB, free: 12.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/21.93, allocations: 11.28 MB / 7.216 GB, free: 0.5508 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/21.93, allocations: 4 kB / 7.216 GB, free: 0.5469 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/21.95, allocations: 6.759 MB / 7.222 GB, free: 10.19 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005956/21.95, allocations: 1.14 MB / 7.223 GB, free: 9.215 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002688/21.96, allocations: 12 kB / 7.223 GB, free: 9.203 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006961/21.96, allocations: 353.2 kB / 7.224 GB, free: 8.961 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/21.96, allocations: 228.2 kB / 7.224 GB, free: 8.82 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001103/21.97, allocations: 150.8 kB / 7.224 GB, free: 8.703 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01165/21.98, allocations: 3.052 MB / 7.227 GB, free: 6.004 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.8e-07/21.98, allocations: 0 / 7.227 GB, free: 6.004 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02497/22, allocations: 3.75 MB / 7.231 GB, free: 2.301 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.928/22.93, allocations: 7.219 MB / 7.238 GB, free: 112.8 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01706/22.95, allocations: 6.755 MB / 7.244 GB, free: 112.3 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/22.95, allocations: 5.469 kB / 7.244 GB, free: 112.3 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004085/22.95, allocations: 2.581 MB / 7.247 GB, free: 111.5 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/22.97, allocations: 2.405 MB / 7.249 GB, free: 111.5 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/22.99, allocations: 9.464 MB / 7.259 GB, free: 109.3 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003988/22.99, allocations: 3.798 MB / 7.262 GB, free: 108.5 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01382/23.01, allocations: 2.793 MB / 7.265 GB, free: 108.4 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/23.01, allocations: 378.5 kB / 7.265 GB, free: 108.4 MB / 1.104 GB Notification: Performance of SimCode: time 2.675e-06/23.01, allocations: 0 / 7.265 GB, free: 108.4 MB / 1.104 GB Notification: Performance of Templates: time 0.2546/23.26, allocations: 138.9 MB / 7.401 GB, free: 101.4 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.SimpleHouse.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.SimpleHouse.sim & ./Buildings_8_Buildings.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)