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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8126/0.8126, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 173.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 426.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007395, allocations: 82.41 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001669/0.001669, allocations: 273.2 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005791, allocations: 16 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4356, allocations: 79.31 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.474/5.91, allocations: 2.382 GB / 3.121 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/5.91, allocations: 92.98 kB / 3.121 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.25/20.16, allocations: 3.676 GB / 6.797 GB, free: 52.73 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.627e-06/20.16, allocations: 0 / 6.797 GB, free: 52.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001492/20.16, allocations: 178.8 kB / 6.797 GB, free: 52.71 MB / 0.823 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.0307/20.19, allocations: 8.141 MB / 6.805 GB, free: 49.11 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/20.19, allocations: 12.34 kB / 6.805 GB, free: 49.11 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/20.21, allocations: 2.617 MB / 6.807 GB, free: 48.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02493/20.23, allocations: 7.902 MB / 6.815 GB, free: 47.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/20.23, allocations: 376.3 kB / 6.815 GB, free: 47.39 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/20.23, allocations: 0.493 MB / 6.816 GB, free: 47.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/20.25, allocations: 6.044 MB / 6.822 GB, free: 46.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/20.25, allocations: 16.06 kB / 6.822 GB, free: 46.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00069/20.25, allocations: 201.9 kB / 6.822 GB, free: 46.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/20.25, allocations: 193.2 kB / 6.822 GB, free: 46.57 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/20.26, allocations: 5.483 MB / 6.828 GB, free: 46.52 MB / 0.823 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.04976/20.31, allocations: 26.57 MB / 6.853 GB, free: 34.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008941/20.32, allocations: 4.18 MB / 6.858 GB, free: 34.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004613/20.33, allocations: 2.388 MB / 6.86 GB, free: 34.07 MB / 0.823 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.01941/20.35, allocations: 8.336 MB / 6.868 GB, free: 32.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003918/20.35, allocations: 2.219 MB / 6.87 GB, free: 32.31 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004085/20.35, allocations: 471.1 kB / 6.871 GB, free: 32.16 MB / 0.823 GB Notification: Performance of pre-optimization done (n=298): time 2.035e-05/20.35, allocations: 0 / 6.871 GB, free: 32.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=298): time 0.01755/20.37, allocations: 7.129 MB / 6.878 GB, free: 30.33 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/20.37, allocations: 451.1 kB / 6.878 GB, free: 29.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/20.38, allocations: 5.143 MB / 6.883 GB, free: 29.39 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/20.38, allocations: 96.36 kB / 6.883 GB, free: 29.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003346/20.39, allocations: 2.995 MB / 6.886 GB, free: 28.46 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/20.39, allocations: 1.01 MB / 6.887 GB, free: 27.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/20.39, allocations: 78.72 kB / 6.887 GB, free: 27.81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002376/20.39, allocations: 459.9 kB / 6.888 GB, free: 27.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/20.39, allocations: 1.677 MB / 6.889 GB, free: 27.49 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/20.4, allocations: 2.944 MB / 6.892 GB, free: 26.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007682/20.4, allocations: 4.433 MB / 6.896 GB, free: 24.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/20.4, allocations: 8.625 kB / 6.896 GB, free: 24.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.0143/20.42, allocations: 5.522 MB / 6.902 GB, free: 24.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006482/20.42, allocations: 0.9398 MB / 6.903 GB, free: 23.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/20.42, allocations: 29.75 kB / 6.903 GB, free: 23.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/20.42, allocations: 0.6784 MB / 6.903 GB, free: 23.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/20.43, allocations: 0.8727 MB / 6.904 GB, free: 23.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/20.43, allocations: 5.757 MB / 6.91 GB, free: 19.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009457/20.44, allocations: 495.8 kB / 6.91 GB, free: 19.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/20.45, allocations: 199.5 kB / 6.911 GB, free: 19.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/20.45, allocations: 3.562 kB / 6.911 GB, free: 19.09 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01521/20.46, allocations: 4.942 MB / 6.915 GB, free: 18.76 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/20.46, allocations: 27.91 kB / 6.915 GB, free: 18.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/20.46, allocations: 0.6865 MB / 6.916 GB, free: 18.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/20.47, allocations: 0.849 MB / 6.917 GB, free: 18.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/20.48, allocations: 5.78 MB / 6.923 GB, free: 14.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008775/20.48, allocations: 473 kB / 6.923 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/20.49, allocations: 188.8 kB / 6.923 GB, free: 14.46 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (446): * Single equations (assignments): 437 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007076/20.49, allocations: 1.611 MB / 6.925 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002764/20.5, allocations: 0.5807 MB / 6.925 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/20.51, allocations: 5.294 MB / 6.931 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/20.51, allocations: 31.88 kB / 6.931 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/20.51, allocations: 0 / 6.931 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009718/20.52, allocations: 4.22 MB / 6.935 GB, free: 9.051 MB / 0.823 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.02962/20.55, allocations: 10.55 MB / 6.945 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/20.55, allocations: 5.5 kB / 6.945 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/20.55, allocations: 0.6255 MB / 6.946 GB, free: 4.477 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/20.56, allocations: 438.5 kB / 6.946 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005515/20.56, allocations: 94.53 kB / 6.946 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009102/20.57, allocations: 11.45 MB / 6.957 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/20.57, allocations: 7.719 kB / 6.957 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/20.58, allocations: 7.2 MB / 6.964 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005167/20.59, allocations: 1.139 MB / 6.965 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003053/20.59, allocations: 67.94 kB / 6.965 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007517/20.6, allocations: 406.6 kB / 6.966 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/20.6, allocations: 229.6 kB / 6.966 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009718/20.6, allocations: 152.3 kB / 6.966 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01026/20.61, allocations: 3.496 MB / 6.97 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.41e-07/20.61, allocations: 0 / 6.97 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02192/20.64, allocations: 3.841 MB / 6.973 GB, free: 13.79 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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * 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.01431/20.65, allocations: 7.093 MB / 6.98 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02098/20.67, allocations: 7.469 MB / 6.988 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.217e-05/20.67, allocations: 5 kB / 6.988 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.7053/21.38, allocations: 2.949 MB / 6.991 GB, free: 92.58 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02151/21.4, allocations: 2.754 MB / 6.993 GB, free: 92.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/21.43, allocations: 14.09 MB / 7.007 GB, free: 86.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008095/21.44, allocations: 3.667 MB / 7.011 GB, free: 86.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01361/21.45, allocations: 2.053 MB / 7.013 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/21.46, allocations: 487.3 kB / 7.013 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.624e-06/21.46, allocations: 0 / 7.013 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.2728/21.73, allocations: 167.6 MB / 7.177 GB, free: 72.47 MB / 0.8542 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)