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.739/1.739, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001313/0.001313, allocations: 177.1 kB / 371.8 MB, free: 10.25 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.636/1.636, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 94.86 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 14.83 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.002/2.251, allocations: 486.7 MB / 1.455 GB, free: 273.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004707/2.252, allocations: 104.3 kB / 1.455 GB, free: 273.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.33/26.59, allocations: 5.404 GB / 6.858 GB, free: 59.35 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.857e-06/26.59, allocations: 0 / 6.858 GB, free: 59.35 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003443/26.59, allocations: 315.7 kB / 6.859 GB, free: 59.3 MB / 1.214 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.05907/26.65, allocations: 13.7 MB / 6.872 GB, free: 53.27 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/26.65, allocations: 12.19 kB / 6.872 GB, free: 53.27 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/26.67, allocations: 2.48 MB / 6.875 GB, free: 52.55 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06602/26.73, allocations: 19.21 MB / 6.893 GB, free: 50.52 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001461/26.73, allocations: 0.5617 MB / 6.894 GB, free: 50.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004805/26.74, allocations: 0.7391 MB / 6.895 GB, free: 50.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03637/26.78, allocations: 8.574 MB / 6.903 GB, free: 49.24 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007548/26.78, allocations: 18.28 kB / 6.903 GB, free: 49.24 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004107/26.78, allocations: 308.2 kB / 6.903 GB, free: 49.24 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003583/26.78, allocations: 198.6 kB / 6.904 GB, free: 49.24 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/26.81, allocations: 6.378 MB / 6.91 GB, free: 49.15 MB / 1.214 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.1015/26.91, allocations: 46.15 MB / 6.955 GB, free: 23.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/26.92, allocations: 4.02 MB / 6.959 GB, free: 22.98 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03071/26.95, allocations: 9.529 MB / 6.968 GB, free: 19.27 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006218/26.96, allocations: 2.187 MB / 6.97 GB, free: 19.15 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009158/26.97, allocations: 0.627 MB / 6.971 GB, free: 18.93 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 3.896e-05/26.97, allocations: 0 / 6.971 GB, free: 18.93 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.02426/26.99, allocations: 7.141 MB / 6.978 GB, free: 17.14 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/26.99, allocations: 93.67 kB / 6.978 GB, free: 17.07 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02854/27.02, allocations: 8.329 MB / 6.986 GB, free: 16.48 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001721/27.02, allocations: 118.2 kB / 6.986 GB, free: 16.45 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/27.03, allocations: 5.549 MB / 6.992 GB, free: 14.88 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/27.03, allocations: 1.178 MB / 6.993 GB, free: 14.13 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/27.03, allocations: 98.97 kB / 6.993 GB, free: 14.13 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005725/27.03, allocations: 494.2 kB / 6.993 GB, free: 13.82 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/27.04, allocations: 1.699 MB / 6.995 GB, free: 13.79 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/27.05, allocations: 3.848 MB / 6.999 GB, free: 11.07 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/27.05, allocations: 2.286 MB / 7.001 GB, free: 10.87 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.61e-05/27.05, allocations: 15.16 kB / 7.001 GB, free: 10.87 MB / 1.214 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01729/27.07, allocations: 6.446 MB / 7.007 GB, free: 9.766 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0111/27.08, allocations: 31.39 MB / 7.038 GB, free: 8.352 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/27.08, allocations: 50.94 kB / 7.038 GB, free: 8.352 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/27.08, allocations: 0.5272 MB / 7.038 GB, free: 8.262 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/27.09, allocations: 1.116 MB / 7.04 GB, free: 8.184 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008318/27.1, allocations: 8.362 MB / 7.048 GB, free: 1.297 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/27.11, allocations: 0.715 MB / 7.048 GB, free: 1.195 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/27.11, allocations: 266 kB / 7.049 GB, free: 1.195 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/27.11, allocations: 11.02 kB / 7.049 GB, free: 1.188 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0171/27.13, allocations: 5.384 MB / 7.054 GB, free: 0.6094 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002402/27.13, allocations: 50.38 kB / 7.054 GB, free: 0.6094 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/27.13, allocations: 0.5293 MB / 7.054 GB, free: 0.5195 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/27.14, allocations: 1.084 MB / 7.056 GB, free: 452 kB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/27.14, allocations: 8.365 MB / 7.064 GB, free: 9.559 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/27.16, allocations: 0.7026 MB / 7.064 GB, free: 9.457 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/27.16, allocations: 250.7 kB / 7.065 GB, free: 9.457 MB / 1.26 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (582): * Single equations (assignments): 568 * 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.01151/27.17, allocations: 2.567 MB / 7.067 GB, free: 9.156 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005737/27.18, allocations: 0.9898 MB / 7.068 GB, free: 8.625 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/27.2, allocations: 5.425 MB / 7.073 GB, free: 8.184 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.097e-05/27.2, allocations: 45.5 kB / 7.073 GB, free: 8.18 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-05/27.2, allocations: 6.625 kB / 7.073 GB, free: 8.18 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01144/27.21, allocations: 3.858 MB / 7.077 GB, free: 7.906 MB / 1.26 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.05496/27.27, allocations: 12.7 MB / 7.09 GB, free: 4.75 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/27.27, allocations: 0 / 7.09 GB, free: 4.75 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003989/27.27, allocations: 0.7148 MB / 7.09 GB, free: 4.688 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/27.27, allocations: 461.5 kB / 7.091 GB, free: 4.5 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009492/27.27, allocations: 118 kB / 7.091 GB, free: 4.445 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/27.28, allocations: 8.27 MB / 7.099 GB, free: 12.87 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/27.28, allocations: 3.781 kB / 7.099 GB, free: 12.87 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/27.31, allocations: 7.461 MB / 7.106 GB, free: 9.523 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01121/27.32, allocations: 1.744 MB / 7.108 GB, free: 8.461 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007264/27.33, allocations: 71.81 kB / 7.108 GB, free: 8.414 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01495/27.34, allocations: 0.6448 MB / 7.109 GB, free: 8.277 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/27.34, allocations: 226.7 kB / 7.109 GB, free: 8.25 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001565/27.34, allocations: 199.2 kB / 7.109 GB, free: 8.215 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02314/27.37, allocations: 6.402 MB / 7.115 GB, free: 5.926 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.51e-07/27.37, allocations: 0 / 7.115 GB, free: 5.926 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03952/27.41, allocations: 5.827 MB / 7.121 GB, free: 4.469 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 313 * 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.01795/27.42, allocations: 6.814 MB / 7.128 GB, free: 0.6406 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 1.232/28.66, allocations: 7.817 MB / 7.135 GB, free: 119.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/28.66, allocations: 4.875 kB / 7.135 GB, free: 119.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006843/28.66, allocations: 2.356 MB / 7.138 GB, free: 119.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02984/28.69, allocations: 4.872 MB / 7.142 GB, free: 119.1 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05732/28.75, allocations: 21.83 MB / 7.164 GB, free: 110 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/28.76, allocations: 5.658 MB / 7.169 GB, free: 109.1 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01841/28.78, allocations: 2.592 MB / 7.172 GB, free: 109 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/28.79, allocations: 0.7582 MB / 7.172 GB, free: 109 MB / 1.276 GB Notification: Performance of SimCode: time 1.893e-06/28.79, allocations: 0 / 7.172 GB, free: 109 MB / 1.276 GB Notification: Performance of Templates: time 0.4022/29.19, allocations: 210.6 MB / 7.378 GB, free: 93.25 MB / 1.276 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)