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.7602/0.7602, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001267/0.001267, allocations: 176.8 kB / 169.7 MB, free: 1.742 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.905/1.905, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.0008659/0.0008659, allocations: 102.1 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.741e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 76.76 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.938/6.106, allocations: 2.486 GB / 3.114 GB, free: 85.65 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/6.106, allocations: 87.95 kB / 3.114 GB, free: 85.56 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 15.48/21.59, allocations: 3.626 GB / 6.74 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.364e-06/21.59, allocations: 0 / 6.74 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.00122/21.59, allocations: 175 kB / 6.74 GB, free: 10.78 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.02457/21.61, allocations: 6.627 MB / 6.746 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/21.61, allocations: 11.59 kB / 6.746 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/21.63, allocations: 2.804 MB / 6.749 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03212/21.66, allocations: 8.099 MB / 6.757 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/21.66, allocations: 377.1 kB / 6.757 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/21.67, allocations: 495.9 kB / 6.758 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/21.69, allocations: 5.799 MB / 6.763 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/21.69, allocations: 11.94 kB / 6.763 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008142/21.69, allocations: 196 kB / 6.764 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/21.69, allocations: 192.8 kB / 6.764 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7485/22.44, allocations: 5.192 MB / 6.769 GB, free: 59.03 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 preOpt removeSimpleEquations (simulation): time 0.05925/22.49, allocations: 26.61 MB / 6.795 GB, free: 47.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009645/22.5, allocations: 3.89 MB / 6.799 GB, free: 47.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/22.51, allocations: 2.23 MB / 6.801 GB, free: 47.07 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 preOpt evalFunc (simulation): time 0.02564/22.53, allocations: 8.814 MB / 6.809 GB, free: 45.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004031/22.54, allocations: 2.078 MB / 6.811 GB, free: 44.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004633/22.54, allocations: 485.7 kB / 6.812 GB, free: 44.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=295): time 2.961e-05/22.54, allocations: 0 / 6.812 GB, free: 44.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=295): time 0.01168/22.55, allocations: 4.35 MB / 6.816 GB, free: 43.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/22.55, allocations: 370.1 kB / 6.817 GB, free: 43.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00927/22.56, allocations: 4.537 MB / 6.821 GB, free: 43.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001381/22.57, allocations: 95.73 kB / 6.821 GB, free: 43.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003492/22.57, allocations: 2.953 MB / 6.824 GB, free: 42.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/22.57, allocations: 0.998 MB / 6.825 GB, free: 41.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/22.57, allocations: 75.22 kB / 6.825 GB, free: 41.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002631/22.57, allocations: 453.4 kB / 6.825 GB, free: 41.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/22.57, allocations: 1.51 MB / 6.827 GB, free: 41.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/22.58, allocations: 2.679 MB / 6.829 GB, free: 40.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/22.58, allocations: 1.896 MB / 6.831 GB, free: 40.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/22.58, allocations: 16.95 kB / 6.831 GB, free: 40.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=473) (initialization): time 0.01245/22.59, allocations: 5.107 MB / 6.836 GB, free: 39.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002721/22.6, allocations: 13.19 MB / 6.849 GB, free: 26.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-05/22.6, allocations: 28.28 kB / 6.849 GB, free: 26.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/22.6, allocations: 0.6577 MB / 6.85 GB, free: 26.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/22.6, allocations: 0.8884 MB / 6.851 GB, free: 26.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008077/22.61, allocations: 5.649 MB / 6.856 GB, free: 38.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008928/22.62, allocations: 497.4 kB / 6.857 GB, free: 38.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/22.62, allocations: 197.3 kB / 6.857 GB, free: 38.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/22.62, allocations: 3.938 kB / 6.857 GB, free: 38.02 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01457/22.64, allocations: 4.533 MB / 6.861 GB, free: 37.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/22.64, allocations: 30.56 kB / 6.861 GB, free: 37.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/22.64, allocations: 0.6775 MB / 6.862 GB, free: 37.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/22.65, allocations: 0.8554 MB / 6.863 GB, free: 37.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/22.65, allocations: 5.666 MB / 6.868 GB, free: 33.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/22.66, allocations: 447.4 kB / 6.869 GB, free: 33.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/22.66, allocations: 191 kB / 6.869 GB, free: 33.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * 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 (443): * Single equations (assignments): 434 * 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,4 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002717/22.67, allocations: 336.9 kB / 6.869 GB, free: 33.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004105/22.67, allocations: 0.5656 MB / 6.87 GB, free: 33.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/22.69, allocations: 5.054 MB / 6.875 GB, free: 32.53 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/22.69, allocations: 38.05 kB / 6.875 GB, free: 32.53 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/22.69, allocations: 0 / 6.875 GB, free: 32.53 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007973/22.69, allocations: 3.869 MB / 6.879 GB, free: 31.73 MB / 0.823 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.02731/22.72, allocations: 10.13 MB / 6.889 GB, free: 30.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/22.72, allocations: 4.906 kB / 6.889 GB, free: 30.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003699/22.73, allocations: 0.6377 MB / 6.889 GB, free: 30.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/22.73, allocations: 424.6 kB / 6.89 GB, free: 30.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000751/22.73, allocations: 99.73 kB / 6.89 GB, free: 30.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/22.74, allocations: 11.36 MB / 6.901 GB, free: 36.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/22.74, allocations: 5.75 kB / 6.901 GB, free: 36.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/22.75, allocations: 7.119 MB / 6.908 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005308/22.76, allocations: 1.15 MB / 6.909 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002734/22.76, allocations: 62.69 kB / 6.909 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006409/22.77, allocations: 412.6 kB / 6.909 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009134/22.77, allocations: 221.1 kB / 6.91 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000804/22.77, allocations: 137 kB / 6.91 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.009576/22.78, allocations: 3.524 MB / 6.913 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.134e-06/22.78, allocations: 0 / 6.913 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02212/22.8, allocations: 3.812 MB / 6.917 GB, free: 33.88 MB / 0.8386 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 (300): * Single equations (assignments): 287 * 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.01498/22.82, allocations: 7.175 MB / 6.924 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01904/22.84, allocations: 7.006 MB / 6.931 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/22.84, allocations: 4.094 kB / 6.931 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/22.84, allocations: 2.62 MB / 6.933 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/22.86, allocations: 2.696 MB / 6.936 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/22.89, allocations: 9.767 MB / 6.945 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/22.89, allocations: 3.776 MB / 6.949 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01392/22.9, allocations: 2.828 MB / 6.952 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/22.91, allocations: 381.3 kB / 6.952 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of SimCode: time 1.463e-06/22.91, allocations: 3.781 kB / 6.952 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of Templates: time 1.059/23.96, allocations: 182.7 MB / 7.131 GB, free: 103.6 MB / 0.8542 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)