Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8317/0.8317, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.7 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.000974, allocations: 84.3 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 269.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005652, allocations: 15 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2061, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.003/5.21, allocations: 2.201 GB / 2.975 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/5.21, allocations: 102.4 kB / 2.975 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 15.23/20.44, allocations: 3.754 GB / 6.729 GB, free: 50.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.135e-06/20.44, allocations: 3.562 kB / 6.729 GB, free: 50.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001373/20.44, allocations: 177.5 kB / 6.729 GB, free: 49.99 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.03559/20.47, allocations: 8.222 MB / 6.737 GB, free: 46.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/20.47, allocations: 11.86 kB / 6.737 GB, free: 46.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/20.49, allocations: 2.623 MB / 6.739 GB, free: 45.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02951/20.52, allocations: 7.788 MB / 6.747 GB, free: 44.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/20.52, allocations: 375.6 kB / 6.747 GB, free: 44.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/20.53, allocations: 491.5 kB / 6.748 GB, free: 44.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/20.55, allocations: 6.006 MB / 6.754 GB, free: 44.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/20.55, allocations: 7.594 kB / 6.754 GB, free: 44.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/20.55, allocations: 206.8 kB / 6.754 GB, free: 44.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/20.55, allocations: 195.2 kB / 6.754 GB, free: 44.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/20.56, allocations: 5.478 MB / 6.76 GB, free: 44.11 MB / 0.8386 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.07808/20.64, allocations: 26.77 MB / 6.786 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/20.65, allocations: 4.233 MB / 6.79 GB, free: 31.67 MB / 0.8386 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 evalFunc (simulation): time 0.02869/20.68, allocations: 8.161 MB / 6.798 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005628/20.69, allocations: 2.164 MB / 6.8 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005125/20.69, allocations: 484.6 kB / 6.8 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=299): time 2.303e-05/20.69, allocations: 3.5 kB / 6.8 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299): time 0.02283/20.72, allocations: 6.689 MB / 6.807 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/20.72, allocations: 371.5 kB / 6.807 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/20.73, allocations: 4.712 MB / 6.812 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/20.73, allocations: 98.42 kB / 6.812 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004902/20.74, allocations: 2.975 MB / 6.815 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/20.74, allocations: 1.009 MB / 6.816 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/20.74, allocations: 75.58 kB / 6.816 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004776/20.74, allocations: 454.9 kB / 6.816 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004814/20.75, allocations: 1.629 MB / 6.818 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/20.75, allocations: 2.846 MB / 6.821 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007196/20.76, allocations: 2.032 MB / 6.823 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.978e-05/20.76, allocations: 10.16 kB / 6.823 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01904/20.78, allocations: 5.407 MB / 6.828 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003327/20.78, allocations: 13.34 MB / 6.841 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/20.78, allocations: 26.5 kB / 6.841 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/20.79, allocations: 0.691 MB / 6.842 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/20.79, allocations: 0.8653 MB / 6.843 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/20.8, allocations: 5.829 MB / 6.848 GB, free: 21.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009093/20.81, allocations: 0.5032 MB / 6.849 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/20.81, allocations: 198.7 kB / 6.849 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/20.81, allocations: 5.062 kB / 6.849 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/20.83, allocations: 4.828 MB / 6.854 GB, free: 20.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/20.83, allocations: 33.09 kB / 6.854 GB, free: 20.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/20.83, allocations: 0.7129 MB / 6.854 GB, free: 20.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/20.83, allocations: 0.8407 MB / 6.855 GB, free: 20.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008495/20.84, allocations: 5.856 MB / 6.861 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00951/20.85, allocations: 474.9 kB / 6.861 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/20.85, allocations: 180.5 kB / 6.862 GB, free: 15.37 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 435 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005728/20.86, allocations: 1.6 MB / 6.863 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002285/20.86, allocations: 0.5861 MB / 6.864 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/20.87, allocations: 4.843 MB / 6.868 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/20.87, allocations: 32.62 kB / 6.868 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/20.87, allocations: 0 / 6.868 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008131/20.88, allocations: 3.767 MB / 6.872 GB, free: 10.87 MB / 0.8542 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 postOpt removeSimpleEquations (simulation): time 0.02896/20.91, allocations: 10.1 MB / 6.882 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/20.91, allocations: 11.19 kB / 6.882 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003359/20.92, allocations: 0.6105 MB / 6.883 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/20.92, allocations: 481.4 kB / 6.883 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004903/20.92, allocations: 93.34 kB / 6.883 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/20.93, allocations: 11.72 MB / 6.895 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/20.93, allocations: 7.75 kB / 6.895 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/20.95, allocations: 7.243 MB / 6.902 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00603/20.95, allocations: 1.181 MB / 6.903 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/20.96, allocations: 66.81 kB / 6.903 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007172/20.96, allocations: 411.1 kB / 6.903 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/20.96, allocations: 239.5 kB / 6.903 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005414/20.96, allocations: 145.1 kB / 6.904 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.8596/21.82, allocations: 4.213 MB / 6.908 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.042e-06/21.82, allocations: 0 / 6.908 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02532/21.85, allocations: 3.857 MB / 6.911 GB, free: 89.84 MB / 0.8698 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.s[1],vavDam.filter.s[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (310): * Single equations (assignments): 296 * 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.02095/21.87, allocations: 7.13 MB / 6.918 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02547/21.9, allocations: 7.199 MB / 6.925 GB, free: 86.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.163e-05/21.9, allocations: 4.031 kB / 6.925 GB, free: 86.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00598/21.9, allocations: 2.763 MB / 6.928 GB, free: 85.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01722/21.92, allocations: 2.738 MB / 6.931 GB, free: 85.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/21.95, allocations: 14.01 MB / 6.945 GB, free: 79.86 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006798/21.96, allocations: 3.784 MB / 6.948 GB, free: 79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01419/21.97, allocations: 2.051 MB / 6.95 GB, free: 78.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004145/21.98, allocations: 492.6 kB / 6.951 GB, free: 78.95 MB / 0.8698 GB Notification: Performance of SimCode: time 2.736e-06/21.98, allocations: 1.781 kB / 6.951 GB, free: 78.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.2832/22.26, allocations: 166.9 MB / 7.114 GB, free: 65.8 MB / 0.8698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)