Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse") translateModel(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8451/0.8451, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 180.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008671/0.0008672, allocations: 90.41 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.649e-05, allocations: 5.406 kB / 0.5465 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.447/6.588, allocations: 2.485 GB / 3.107 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.588, allocations: 96.91 kB / 3.107 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 14.71/21.3, allocations: 3.595 GB / 6.701 GB, free: 42.25 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.164e-06/21.3, allocations: 0 / 6.701 GB, free: 42.25 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001489/21.3, allocations: 173.7 kB / 6.702 GB, free: 42.23 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.03007/21.33, allocations: 6.628 MB / 6.708 GB, free: 39.15 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/21.33, allocations: 8.625 kB / 6.708 GB, free: 39.15 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/21.35, allocations: 2.798 MB / 6.711 GB, free: 38.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/21.38, allocations: 8.108 MB / 6.719 GB, free: 37.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/21.38, allocations: 155.2 kB / 6.719 GB, free: 37.57 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/21.38, allocations: 292 kB / 6.719 GB, free: 37.57 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01549/21.4, allocations: 4.817 MB / 6.724 GB, free: 37.55 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/21.42, allocations: 5.083 MB / 6.729 GB, free: 36.78 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003555/21.42, allocations: 15.02 kB / 6.729 GB, free: 36.77 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0022/21.42, allocations: 7.719 kB / 6.729 GB, free: 36.77 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/21.42, allocations: 196.7 kB / 6.729 GB, free: 36.76 MB / 0.7917 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.05886/21.48, allocations: 25.96 MB / 6.754 GB, free: 23.92 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/21.49, allocations: 3.948 MB / 6.758 GB, free: 23.71 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/21.49, allocations: 2.199 MB / 6.76 GB, free: 23.17 MB / 0.7917 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.02377/21.52, allocations: 8.559 MB / 6.769 GB, free: 18.67 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003704/21.52, allocations: 1.955 MB / 6.771 GB, free: 17.93 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00412/21.53, allocations: 376.6 kB / 6.771 GB, free: 17.78 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=293): time 1.905e-05/21.53, allocations: 0 / 6.771 GB, free: 17.78 MB / 0.7917 GB Notification: Performance of matching and sorting (n=293): time 0.01623/21.54, allocations: 4.784 MB / 6.776 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/21.54, allocations: 372.2 kB / 6.776 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/21.56, allocations: 3.98 MB / 6.78 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001859/21.56, allocations: 29.7 kB / 6.78 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/21.56, allocations: 2.965 MB / 6.783 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/21.56, allocations: 0.9578 MB / 6.784 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/21.57, allocations: 0 / 6.784 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004417/21.57, allocations: 461.6 kB / 6.784 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/21.57, allocations: 1.521 MB / 6.786 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/21.57, allocations: 2.677 MB / 6.788 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/21.58, allocations: 2.433 MB / 6.791 GB, free: 112 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.321e-05/21.58, allocations: 8 kB / 6.791 GB, free: 104 kB / 0.7917 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.02002/21.6, allocations: 5.453 MB / 6.796 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.8069/22.41, allocations: 13.16 MB / 6.809 GB, free: 65.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/22.41, allocations: 32.94 kB / 6.809 GB, free: 65.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/22.41, allocations: 0.6129 MB / 6.81 GB, free: 65.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/22.42, allocations: 0.8941 MB / 6.81 GB, free: 65.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/22.42, allocations: 5.5 MB / 6.816 GB, free: 61.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0077/22.43, allocations: 395.7 kB / 6.816 GB, free: 61.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/22.43, allocations: 203.9 kB / 6.816 GB, free: 61.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/22.43, allocations: 3.281 kB / 6.816 GB, free: 61.76 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01777/22.45, allocations: 4.673 MB / 6.821 GB, free: 61.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/22.45, allocations: 29.28 kB / 6.821 GB, free: 61.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/22.45, allocations: 0.6398 MB / 6.822 GB, free: 61.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/22.46, allocations: 0.848 MB / 6.822 GB, free: 61.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/22.47, allocations: 5.508 MB / 6.828 GB, free: 57.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00735/22.47, allocations: 348.8 kB / 6.828 GB, free: 57.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/22.48, allocations: 187.9 kB / 6.828 GB, free: 57.64 MB / 0.8073 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: 124 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$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.002501/22.48, allocations: 216.2 kB / 6.828 GB, free: 57.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/22.48, allocations: 0.5399 MB / 6.829 GB, free: 57.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/22.5, allocations: 5.188 MB / 6.834 GB, free: 56.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/22.5, allocations: 32.62 kB / 6.834 GB, free: 56.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/22.5, allocations: 5.922 kB / 6.834 GB, free: 56.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01301/22.51, allocations: 4.218 MB / 6.838 GB, free: 56 MB / 0.8073 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.03856/22.55, allocations: 9.843 MB / 6.848 GB, free: 54.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/22.55, allocations: 8.625 kB / 6.848 GB, free: 54.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/22.55, allocations: 0.636 MB / 6.848 GB, free: 54.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/22.56, allocations: 407.5 kB / 6.849 GB, free: 54.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007836/22.56, allocations: 60.27 kB / 6.849 GB, free: 54.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008662/22.57, allocations: 11.07 MB / 6.86 GB, free: 45.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/22.57, allocations: 7.125 kB / 6.86 GB, free: 45.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/22.58, allocations: 7.3 MB / 6.867 GB, free: 43.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004715/22.59, allocations: 1.105 MB / 6.868 GB, free: 43.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002727/22.59, allocations: 20.95 kB / 6.868 GB, free: 43.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006753/22.6, allocations: 349.4 kB / 6.868 GB, free: 43.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/22.6, allocations: 215 kB / 6.868 GB, free: 43.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009163/22.6, allocations: 138 kB / 6.869 GB, free: 43.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.008787/22.61, allocations: 2.969 MB / 6.872 GB, free: 43.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.31e-07/22.61, allocations: 1.25 kB / 6.872 GB, free: 43.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.02367/22.63, allocations: 3.665 MB / 6.875 GB, free: 42.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.conTim1.tStart,weaDat.conTim.tStart,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTim1.tStart,weaDat.conTim.tStart,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01419/22.65, allocations: 7.311 MB / 6.882 GB, free: 39.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01753/22.67, allocations: 6.726 MB / 6.889 GB, free: 39.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.392e-05/22.67, allocations: 3.781 kB / 6.889 GB, free: 39.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005355/22.67, allocations: 2.544 MB / 6.891 GB, free: 38.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01656/22.69, allocations: 2.358 MB / 6.894 GB, free: 38.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/22.72, allocations: 9.542 MB / 6.903 GB, free: 36.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006789/22.72, allocations: 3.773 MB / 6.907 GB, free: 35.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0166/22.74, allocations: 2.738 MB / 6.909 GB, free: 35.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/22.74, allocations: 375.8 kB / 6.91 GB, free: 35.56 MB / 0.8073 GB Notification: Performance of SimCode: time 2.374e-06/22.74, allocations: 0 / 6.91 GB, free: 35.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.2241/22.97, allocations: 137.5 MB / 7.044 GB, free: 21.66 MB / 0.8073 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe 2>&1)