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.7719/0.7719, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 187.1 kB / 187.3 MB, free: 11.89 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.392/1.392, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.0009338/0.0009338, allocations: 92.55 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001771, allocations: 270.2 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.238e-05/4.24e-05, allocations: 0 / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4732, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.917/6.391, allocations: 2.201 GB / 2.965 GB, free: 66.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.391, allocations: 96.77 kB / 2.965 GB, free: 66.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 15.63/22.02, allocations: 3.748 GB / 6.713 GB, free: 48.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.444e-06/22.02, allocations: 3.938 kB / 6.713 GB, free: 48.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001279/22.02, allocations: 172.8 kB / 6.713 GB, free: 48.48 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.02767/22.05, allocations: 6.693 MB / 6.719 GB, free: 45.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/22.05, allocations: 11.34 kB / 6.719 GB, free: 45.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/22.07, allocations: 2.62 MB / 6.722 GB, free: 44.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/22.1, allocations: 7.716 MB / 6.73 GB, free: 43.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/22.1, allocations: 374.9 kB / 6.73 GB, free: 43.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/22.1, allocations: 488.3 kB / 6.73 GB, free: 43.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/22.12, allocations: 5.783 MB / 6.736 GB, free: 42.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/22.12, allocations: 15.38 kB / 6.736 GB, free: 42.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006898/22.12, allocations: 198.9 kB / 6.736 GB, free: 42.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/22.12, allocations: 196.1 kB / 6.736 GB, free: 42.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/22.13, allocations: 5.116 MB / 6.741 GB, free: 42.71 MB / 0.8386 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.05524/22.18, allocations: 26.78 MB / 6.768 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/22.19, allocations: 3.874 MB / 6.771 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/22.19, allocations: 2.235 MB / 6.774 GB, free: 19.32 MB / 0.8386 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.02026/22.21, allocations: 8.54 MB / 6.782 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003486/22.22, allocations: 2.066 MB / 6.784 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004537/22.22, allocations: 484.6 kB / 6.784 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=299): time 1.617e-05/22.22, allocations: 0 / 6.784 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299): time 0.009635/22.23, allocations: 3.907 MB / 6.788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/22.23, allocations: 380.4 kB / 6.789 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009189/22.24, allocations: 4.646 MB / 6.793 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006388/22.24, allocations: 97.7 kB / 6.793 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003218/22.25, allocations: 2.974 MB / 6.796 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/22.25, allocations: 1.013 MB / 6.797 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/22.25, allocations: 72 kB / 6.797 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002823/22.25, allocations: 453.8 kB / 6.798 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/22.25, allocations: 1.499 MB / 6.799 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/22.25, allocations: 2.713 MB / 6.802 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/22.26, allocations: 1.908 MB / 6.804 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/22.26, allocations: 8 kB / 6.804 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01295/22.27, allocations: 5.135 MB / 6.809 GB, free: 452 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.8038/23.07, allocations: 13.34 MB / 6.822 GB, free: 60.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/23.07, allocations: 26.88 kB / 6.822 GB, free: 60.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/23.08, allocations: 0.6537 MB / 6.822 GB, free: 60.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/23.08, allocations: 0.8801 MB / 6.823 GB, free: 60.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/23.09, allocations: 5.69 MB / 6.829 GB, free: 56.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009999/23.1, allocations: 0.5114 MB / 6.829 GB, free: 56.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/23.1, allocations: 193.8 kB / 6.829 GB, free: 56.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/23.1, allocations: 5.5 kB / 6.829 GB, free: 56.13 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01281/23.12, allocations: 4.576 MB / 6.834 GB, free: 55.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.591e-05/23.12, allocations: 27.62 kB / 6.834 GB, free: 55.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/23.12, allocations: 0.6716 MB / 6.835 GB, free: 55.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/23.12, allocations: 0.8639 MB / 6.835 GB, free: 55.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/23.13, allocations: 5.686 MB / 6.841 GB, free: 51.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007172/23.14, allocations: 475.8 kB / 6.841 GB, free: 51.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/23.14, allocations: 184.8 kB / 6.842 GB, free: 51.88 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 () * 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.001297/23.14, allocations: 343.2 kB / 6.842 GB, free: 51.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/23.14, allocations: 0.571 MB / 6.842 GB, free: 51.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009896/23.15, allocations: 4.635 MB / 6.847 GB, free: 51.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/23.15, allocations: 31.09 kB / 6.847 GB, free: 51.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/23.15, allocations: 2.938 kB / 6.847 GB, free: 51.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006172/23.16, allocations: 3.538 MB / 6.85 GB, free: 51.17 MB / 0.8542 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.02594/23.18, allocations: 9.998 MB / 6.86 GB, free: 50.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/23.18, allocations: 10.83 kB / 6.86 GB, free: 50.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/23.19, allocations: 0.6248 MB / 6.861 GB, free: 50.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/23.19, allocations: 482.7 kB / 6.861 GB, free: 50.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/23.19, allocations: 93.14 kB / 6.861 GB, free: 50.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00759/23.19, allocations: 11.55 MB / 6.873 GB, free: 40.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/23.19, allocations: 8.375 kB / 6.873 GB, free: 40.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/23.21, allocations: 6.978 MB / 6.879 GB, free: 39.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004588/23.21, allocations: 1.186 MB / 6.881 GB, free: 38.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/23.21, allocations: 70.12 kB / 6.881 GB, free: 38.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/23.22, allocations: 419.3 kB / 6.881 GB, free: 38.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/23.22, allocations: 229.6 kB / 6.881 GB, free: 38.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003957/23.22, allocations: 148.4 kB / 6.881 GB, free: 38.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007822/23.23, allocations: 3.603 MB / 6.885 GB, free: 38.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/23.23, allocations: 0 / 6.885 GB, free: 38.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01981/23.25, allocations: 3.883 MB / 6.889 GB, free: 38.2 MB / 0.8542 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) * 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.01539/23.26, allocations: 7.098 MB / 6.896 GB, free: 35.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0196/23.28, allocations: 7.057 MB / 6.903 GB, free: 34.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/23.28, allocations: 4.688 kB / 6.903 GB, free: 34.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/23.29, allocations: 2.666 MB / 6.905 GB, free: 33.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01786/23.31, allocations: 2.736 MB / 6.908 GB, free: 33.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/23.34, allocations: 9.665 MB / 6.917 GB, free: 31.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007946/23.34, allocations: 3.804 MB / 6.921 GB, free: 30.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01706/23.36, allocations: 2.912 MB / 6.924 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/23.36, allocations: 391.3 kB / 6.924 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of SimCode: time 1.954e-06/23.36, allocations: 0 / 6.924 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.2984/23.66, allocations: 183.6 MB / 7.104 GB, free: 8.707 MB / 0.8855 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)