Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001103/0.001103, allocations: 185 kB / 377.1 MB, free: 1.523 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.633/1.633, allocations: 205.4 MB / 0.6367 GB, free: 8.656 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.001032/0.001033, allocations: 88.16 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003649, allocations: 11.98 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 116.3 MB / 0.9883 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.952/2.265, allocations: 487.6 MB / 1.465 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/2.265, allocations: 93.06 kB / 1.465 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 23.75/26.02, allocations: 5.404 GB / 6.868 GB, free: 52.95 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.294e-06/26.02, allocations: 0 / 6.868 GB, free: 52.95 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003329/26.02, allocations: 317.3 kB / 6.869 GB, free: 52.9 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.06668/26.09, allocations: 13.71 MB / 6.882 GB, free: 46.77 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/26.09, allocations: 10.41 kB / 6.882 GB, free: 46.77 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/26.11, allocations: 2.479 MB / 6.885 GB, free: 45.99 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07175/26.18, allocations: 19.2 MB / 6.903 GB, free: 43.65 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/26.18, allocations: 0.5623 MB / 6.904 GB, free: 43.63 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004276/26.18, allocations: 0.7386 MB / 6.905 GB, free: 43.63 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04006/26.22, allocations: 8.563 MB / 6.913 GB, free: 42.33 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/26.22, allocations: 32.31 kB / 6.913 GB, free: 42.32 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004936/26.23, allocations: 311.1 kB / 6.913 GB, free: 42.32 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/26.23, allocations: 197.8 kB / 6.913 GB, free: 42.31 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/26.25, allocations: 6.379 MB / 6.92 GB, free: 42.14 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.09105/26.34, allocations: 46.15 MB / 6.965 GB, free: 15.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/26.35, allocations: 4.024 MB / 6.969 GB, free: 15.66 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02787/26.38, allocations: 9.525 MB / 6.978 GB, free: 11.95 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006294/26.39, allocations: 2.184 MB / 6.98 GB, free: 11.83 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008491/26.4, allocations: 0.6292 MB / 6.981 GB, free: 11.61 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 3.301e-05/26.4, allocations: 3.938 kB / 6.981 GB, free: 11.61 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.02137/26.42, allocations: 7.136 MB / 6.988 GB, free: 9.82 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/26.42, allocations: 90.02 kB / 6.988 GB, free: 9.75 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02466/26.44, allocations: 8.332 MB / 6.996 GB, free: 9.156 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/26.45, allocations: 115.6 kB / 6.996 GB, free: 9.125 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008545/26.45, allocations: 5.547 MB / 7.001 GB, free: 5.398 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002329/26.46, allocations: 1.183 MB / 7.003 GB, free: 4.484 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/26.46, allocations: 95.44 kB / 7.003 GB, free: 4.41 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000518/26.46, allocations: 492.3 kB / 7.003 GB, free: 4.02 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/26.46, allocations: 1.701 MB / 7.005 GB, free: 3.418 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006575/26.47, allocations: 3.851 MB / 7.009 GB, free: 15.97 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/26.48, allocations: 2.288 MB / 7.011 GB, free: 14.93 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/26.48, allocations: 14.78 kB / 7.011 GB, free: 14.93 MB / 1.229 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01914/26.49, allocations: 6.431 MB / 7.017 GB, free: 12.26 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01281/26.51, allocations: 31.4 MB / 7.048 GB, free: 10.46 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/26.51, allocations: 54.25 kB / 7.048 GB, free: 10.46 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/26.51, allocations: 0.5278 MB / 7.048 GB, free: 10.27 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/26.52, allocations: 1.114 MB / 7.049 GB, free: 10.16 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007324/26.52, allocations: 8.363 MB / 7.058 GB, free: 2.566 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/26.54, allocations: 0.7137 MB / 7.058 GB, free: 2.383 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/26.54, allocations: 266.1 kB / 7.059 GB, free: 2.344 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/26.54, allocations: 7.734 kB / 7.059 GB, free: 2.34 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01645/26.55, allocations: 5.388 MB / 7.064 GB, free: 152 kB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/26.55, allocations: 53.22 kB / 7.064 GB, free: 152 kB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/26.56, allocations: 0.5299 MB / 7.064 GB, free: 15.97 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/26.56, allocations: 1.094 MB / 7.065 GB, free: 15.85 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/26.57, allocations: 8.366 MB / 7.074 GB, free: 8.25 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/26.58, allocations: 0.697 MB / 7.074 GB, free: 8.07 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/26.58, allocations: 253.2 kB / 7.075 GB, free: 8.031 MB / 1.276 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.0109/26.59, allocations: 2.573 MB / 7.077 GB, free: 6.617 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005103/26.6, allocations: 0.9791 MB / 7.078 GB, free: 6.09 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/26.62, allocations: 5.433 MB / 7.083 GB, free: 3.992 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-05/26.62, allocations: 45.52 kB / 7.083 GB, free: 3.988 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/26.62, allocations: 4 kB / 7.083 GB, free: 3.984 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01035/26.63, allocations: 3.851 MB / 7.087 GB, free: 1.75 MB / 1.276 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 1.412/28.04, allocations: 12.75 MB / 7.1 GB, free: 113.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/28.04, allocations: 0.875 kB / 7.1 GB, free: 113.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004351/28.05, allocations: 0.7117 MB / 7.1 GB, free: 113.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/28.05, allocations: 461.3 kB / 7.101 GB, free: 113.8 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007555/28.05, allocations: 114.3 kB / 7.101 GB, free: 113.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/28.06, allocations: 8.262 MB / 7.109 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/28.06, allocations: 3.75 kB / 7.109 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02581/28.08, allocations: 7.469 MB / 7.116 GB, free: 106.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01256/28.1, allocations: 1.732 MB / 7.118 GB, free: 106.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005451/28.1, allocations: 71.98 kB / 7.118 GB, free: 106.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01283/28.11, allocations: 0.6551 MB / 7.119 GB, free: 106.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/28.12, allocations: 225 kB / 7.119 GB, free: 106.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001515/28.12, allocations: 195.5 kB / 7.119 GB, free: 106.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02359/28.14, allocations: 6.404 MB / 7.125 GB, free: 106.1 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.242e-06/28.14, allocations: 1.469 kB / 7.125 GB, free: 106.1 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03986/28.18, allocations: 5.822 MB / 7.131 GB, free: 106 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.01727/28.2, allocations: 6.82 MB / 7.138 GB, free: 103.2 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02309/28.22, allocations: 7.825 MB / 7.145 GB, free: 102.6 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/28.22, allocations: 5.875 kB / 7.145 GB, free: 102.6 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006415/28.23, allocations: 2.354 MB / 7.147 GB, free: 102.3 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03003/28.26, allocations: 4.867 MB / 7.152 GB, free: 102.3 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06395/28.32, allocations: 21.85 MB / 7.174 GB, free: 93.07 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/28.34, allocations: 5.656 MB / 7.179 GB, free: 92.16 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01873/28.36, allocations: 2.589 MB / 7.182 GB, free: 92.04 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003728/28.36, allocations: 0.7606 MB / 7.182 GB, free: 92.04 MB / 1.276 GB Notification: Performance of SimCode: time 1.773e-06/28.36, allocations: 0 / 7.182 GB, free: 92.04 MB / 1.276 GB Notification: Performance of Templates: time 0.4063/28.77, allocations: 210.6 MB / 7.388 GB, free: 74.98 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)