Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 285.4 MB / 298 MB, free: 6.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 188.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008628/0.0008629, allocations: 102 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.526e-05, allocations: 0 / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7834, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.98, allocations: 486.6 MB / 1.446 GB, free: 70.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.98, allocations: 90.98 kB / 1.446 GB, free: 70.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 24.01/25.99, allocations: 5.387 GB / 6.834 GB, free: 40.46 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.314e-06/25.99, allocations: 3.906 kB / 6.834 GB, free: 40.46 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00346/25.99, allocations: 312.1 kB / 6.834 GB, free: 40.32 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.04786/26.04, allocations: 10.64 MB / 6.844 GB, free: 29.55 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/26.04, allocations: 8.031 kB / 6.844 GB, free: 29.54 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01714/26.06, allocations: 2.479 MB / 6.847 GB, free: 27.05 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06303/26.12, allocations: 19.09 MB / 6.865 GB, free: 7.973 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/26.12, allocations: 0.5723 MB / 6.866 GB, free: 7.398 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004819/26.13, allocations: 0.7343 MB / 6.867 GB, free: 6.664 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/26.16, allocations: 8.286 MB / 6.875 GB, free: 13.98 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005294/26.16, allocations: 27.8 kB / 6.875 GB, free: 13.95 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003249/26.16, allocations: 304 kB / 6.875 GB, free: 13.66 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/26.16, allocations: 200 kB / 6.875 GB, free: 13.46 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/26.18, allocations: 5.923 MB / 6.881 GB, free: 7.523 MB / 1.214 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 2.625/28.81, allocations: 46.13 MB / 6.926 GB, free: 53.29 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/28.82, allocations: 3.656 MB / 6.93 GB, free: 53.24 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005437/28.82, allocations: 2.057 MB / 6.932 GB, free: 53.21 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03293/28.86, allocations: 9.673 MB / 6.941 GB, free: 49.62 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006104/28.86, allocations: 1.982 MB / 6.943 GB, free: 49.51 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009315/28.87, allocations: 0.6269 MB / 6.944 GB, free: 49.51 MB / 1.229 GB Notification: Performance of pre-optimization done (n=339): time 5.081e-05/28.87, allocations: 4.75 kB / 6.944 GB, free: 49.51 MB / 1.229 GB Notification: Performance of matching and sorting (n=339): time 0.01633/28.89, allocations: 4.172 MB / 6.948 GB, free: 49.09 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/28.89, allocations: 88.52 kB / 6.948 GB, free: 49.02 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03069/28.92, allocations: 8.229 MB / 6.956 GB, free: 48.41 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001668/28.92, allocations: 119.1 kB / 6.956 GB, free: 48.38 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01187/28.93, allocations: 5.553 MB / 6.961 GB, free: 47.28 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00341/28.94, allocations: 1.174 MB / 6.962 GB, free: 46.7 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/28.94, allocations: 94.83 kB / 6.963 GB, free: 46.7 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0006893/28.94, allocations: 499 kB / 6.963 GB, free: 46.38 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/28.94, allocations: 1.5 MB / 6.964 GB, free: 46.37 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007058/28.95, allocations: 3.639 MB / 6.968 GB, free: 43.75 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/28.96, allocations: 2.116 MB / 6.97 GB, free: 43.67 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/28.96, allocations: 16.38 kB / 6.97 GB, free: 43.67 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02131/28.98, allocations: 6.019 MB / 6.976 GB, free: 42.96 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01545/28.99, allocations: 31.28 MB / 7.007 GB, free: 25.88 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004863/29, allocations: 52.03 kB / 7.007 GB, free: 25.88 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/29, allocations: 0.5213 MB / 7.007 GB, free: 25.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006841/29.01, allocations: 1.114 MB / 7.008 GB, free: 25.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/29.02, allocations: 8.306 MB / 7.016 GB, free: 34.98 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/29.03, allocations: 0.718 MB / 7.017 GB, free: 34.95 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/29.03, allocations: 268.7 kB / 7.017 GB, free: 34.95 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/29.03, allocations: 2.438 kB / 7.017 GB, free: 34.95 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01618/29.05, allocations: 5.018 MB / 7.022 GB, free: 34.78 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00036/29.05, allocations: 55.31 kB / 7.022 GB, free: 34.78 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/29.05, allocations: 0.5219 MB / 7.023 GB, free: 34.7 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005203/29.06, allocations: 1.086 MB / 7.024 GB, free: 34.7 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/29.06, allocations: 8.309 MB / 7.032 GB, free: 27.88 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/29.08, allocations: 0.6916 MB / 7.033 GB, free: 27.85 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/29.08, allocations: 257.3 kB / 7.033 GB, free: 27.85 MB / 1.261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003435/29.08, allocations: 455.7 kB / 7.033 GB, free: 27.73 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00538/29.09, allocations: 0.9784 MB / 7.034 GB, free: 27.21 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/29.1, allocations: 5.042 MB / 7.039 GB, free: 26.86 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.165e-05/29.1, allocations: 43.89 kB / 7.039 GB, free: 26.86 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/29.1, allocations: 3.953 kB / 7.039 GB, free: 26.86 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008335/29.11, allocations: 3.481 MB / 7.043 GB, free: 26.62 MB / 1.261 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.05735/29.17, allocations: 12.32 MB / 7.055 GB, free: 25.87 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/29.17, allocations: 0 / 7.055 GB, free: 25.87 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/29.17, allocations: 0.7005 MB / 7.055 GB, free: 25.87 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/29.18, allocations: 464.8 kB / 7.056 GB, free: 25.79 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009247/29.18, allocations: 109.2 kB / 7.056 GB, free: 25.79 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008251/29.19, allocations: 8.215 MB / 7.064 GB, free: 34.97 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/29.19, allocations: 3.844 kB / 7.064 GB, free: 34.97 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/29.21, allocations: 6.878 MB / 7.071 GB, free: 33.88 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/29.22, allocations: 1.732 MB / 7.072 GB, free: 33.25 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005633/29.22, allocations: 71.62 kB / 7.072 GB, free: 33.25 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01313/29.24, allocations: 0.6495 MB / 7.073 GB, free: 33.23 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/29.24, allocations: 228.7 kB / 7.073 GB, free: 33.23 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00178/29.24, allocations: 196.1 kB / 7.073 GB, free: 33.23 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02266/29.26, allocations: 6.302 MB / 7.08 GB, free: 32.89 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.022e-06/29.26, allocations: 0 / 7.08 GB, free: 32.89 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04075/29.3, allocations: 5.834 MB / 7.085 GB, free: 32.57 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01971/29.32, allocations: 6.759 MB / 7.092 GB, free: 29.75 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.0233/29.35, allocations: 7.61 MB / 7.099 GB, free: 29.16 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/29.35, allocations: 6.734 kB / 7.099 GB, free: 29.16 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.005589/29.35, allocations: 2.159 MB / 7.101 GB, free: 28.91 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03116/29.38, allocations: 4.867 MB / 7.106 GB, free: 28.83 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05185/29.44, allocations: 14.74 MB / 7.121 GB, free: 25.27 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/29.45, allocations: 5.667 MB / 7.126 GB, free: 24.22 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02637/29.47, allocations: 3.833 MB / 7.13 GB, free: 23.74 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/29.48, allocations: 0.5598 MB / 7.13 GB, free: 23.73 MB / 1.276 GB Notification: Performance of SimCode: time 1.072e-06/29.48, allocations: 0 / 7.13 GB, free: 23.73 MB / 1.276 GB Notification: Performance of Templates: time 0.4349/29.91, allocations: 228.8 MB / 7.354 GB, free: 12.14 MB / 1.307 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)