Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001452, allocations: 183.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.384/2.384, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 93.73 kB / 0.743 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 10.62 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.113/2.339, allocations: 486.5 MB / 1.453 GB, free: 272 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/2.34, allocations: 95.08 kB / 1.454 GB, free: 272 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 30.84/33.18, allocations: 5.404 GB / 6.857 GB, free: 59.18 MB / 1.214 GB Notification: Performance of FrontEnd: time 5.821e-06/33.18, allocations: 0 / 6.857 GB, free: 59.18 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002952/33.18, allocations: 318.8 kB / 6.858 GB, free: 59.13 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.06443/33.24, allocations: 13.7 MB / 6.871 GB, free: 53.11 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/33.24, allocations: 8.844 kB / 6.871 GB, free: 53.11 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/33.27, allocations: 2.487 MB / 6.873 GB, free: 52.39 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08595/33.35, allocations: 19.2 MB / 6.892 GB, free: 50.36 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/33.35, allocations: 0.5588 MB / 6.893 GB, free: 50.34 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004027/33.36, allocations: 0.7404 MB / 6.893 GB, free: 50.34 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/33.4, allocations: 8.573 MB / 6.902 GB, free: 49.12 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005482/33.4, allocations: 21.91 kB / 6.902 GB, free: 49.12 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/33.4, allocations: 306 kB / 6.902 GB, free: 49.12 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/33.4, allocations: 200.2 kB / 6.902 GB, free: 49.12 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/33.43, allocations: 6.381 MB / 6.909 GB, free: 49.04 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.1023/33.53, allocations: 46.14 MB / 6.954 GB, free: 23.08 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/33.55, allocations: 4.026 MB / 6.958 GB, free: 22.95 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03209/33.58, allocations: 9.534 MB / 6.967 GB, free: 19.25 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009177/33.59, allocations: 2.178 MB / 6.969 GB, free: 19.13 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009222/33.6, allocations: 0.6301 MB / 6.97 GB, free: 18.91 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 2.076e-05/33.6, allocations: 1.969 kB / 6.97 GB, free: 18.91 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.03254/33.63, allocations: 7.147 MB / 6.977 GB, free: 17.11 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/33.63, allocations: 84.94 kB / 6.977 GB, free: 17.04 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02717/33.66, allocations: 8.337 MB / 6.985 GB, free: 16.45 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/33.66, allocations: 117.8 kB / 6.985 GB, free: 16.41 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009034/33.67, allocations: 5.544 MB / 6.99 GB, free: 14.85 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002487/33.67, allocations: 1.171 MB / 6.991 GB, free: 14.11 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006674/33.67, allocations: 97.66 kB / 6.992 GB, free: 14.11 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003983/33.67, allocations: 498.6 kB / 6.992 GB, free: 13.79 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007492/33.68, allocations: 1.698 MB / 6.994 GB, free: 13.77 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009499/33.69, allocations: 3.844 MB / 6.997 GB, free: 11.04 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009034/33.7, allocations: 2.29 MB / 7 GB, free: 10.84 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-05/33.7, allocations: 15.97 kB / 7 GB, free: 10.84 MB / 1.214 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.0268/33.73, allocations: 6.444 MB / 7.006 GB, free: 9.734 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01303/33.74, allocations: 31.39 MB / 7.037 GB, free: 8.32 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/33.74, allocations: 49.31 kB / 7.037 GB, free: 8.32 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/33.74, allocations: 0.5326 MB / 7.037 GB, free: 8.23 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008965/33.75, allocations: 1.118 MB / 7.038 GB, free: 8.148 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008946/33.76, allocations: 8.355 MB / 7.046 GB, free: 1.273 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/33.78, allocations: 0.7201 MB / 7.047 GB, free: 1.16 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/33.78, allocations: 269.2 kB / 7.047 GB, free: 1.16 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/33.78, allocations: 3.688 kB / 7.047 GB, free: 1.16 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01895/33.8, allocations: 5.388 MB / 7.053 GB, free: 0.582 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/33.8, allocations: 50.62 kB / 7.053 GB, free: 0.582 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/33.8, allocations: 0.5328 MB / 7.053 GB, free: 0.4922 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008349/33.81, allocations: 1.089 MB / 7.054 GB, free: 420 kB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008753/33.82, allocations: 8.358 MB / 7.062 GB, free: 9.527 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/33.83, allocations: 0.7029 MB / 7.063 GB, free: 9.43 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/33.83, allocations: 252.6 kB / 7.063 GB, free: 9.43 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.01111/33.84, allocations: 2.571 MB / 7.066 GB, free: 9.129 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004906/33.85, allocations: 0.9805 MB / 7.067 GB, free: 8.602 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02646/33.88, allocations: 5.44 MB / 7.072 GB, free: 8.152 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/33.88, allocations: 37.59 kB / 7.072 GB, free: 8.152 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/33.88, allocations: 3.969 kB / 7.072 GB, free: 8.152 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01763/33.89, allocations: 3.856 MB / 7.076 GB, free: 7.879 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.05497/33.95, allocations: 12.7 MB / 7.088 GB, free: 5.695 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/33.95, allocations: 6.219 kB / 7.088 GB, free: 5.691 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007081/33.96, allocations: 0.7121 MB / 7.089 GB, free: 5.629 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/33.96, allocations: 462.8 kB / 7.09 GB, free: 5.441 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/33.96, allocations: 111.5 kB / 7.09 GB, free: 5.391 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009183/33.97, allocations: 8.269 MB / 7.098 GB, free: 13.82 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/33.97, allocations: 0 / 7.098 GB, free: 13.82 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/34, allocations: 7.474 MB / 7.105 GB, free: 10.46 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009803/34.01, allocations: 1.737 MB / 7.107 GB, free: 9.402 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004865/34.01, allocations: 72.72 kB / 7.107 GB, free: 9.352 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01438/34.03, allocations: 0.65 MB / 7.107 GB, free: 9.211 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/34.03, allocations: 220.8 kB / 7.108 GB, free: 9.184 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001094/34.03, allocations: 200.2 kB / 7.108 GB, free: 9.152 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02251/34.05, allocations: 6.397 MB / 7.114 GB, free: 6.867 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.212e-06/34.05, allocations: 3.5 kB / 7.114 GB, free: 6.867 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03597/34.09, allocations: 5.828 MB / 7.12 GB, free: 5.406 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.02347/34.11, allocations: 6.832 MB / 7.126 GB, free: 1.676 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 1.412/35.52, allocations: 7.816 MB / 7.134 GB, free: 119.1 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/35.52, allocations: 4.688 kB / 7.134 GB, free: 119.1 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01317/35.54, allocations: 2.359 MB / 7.136 GB, free: 118.8 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05179/35.59, allocations: 4.863 MB / 7.141 GB, free: 118.8 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06794/35.66, allocations: 21.84 MB / 7.162 GB, free: 109.6 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01836/35.68, allocations: 5.654 MB / 7.168 GB, free: 108.7 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02585/35.7, allocations: 2.596 MB / 7.17 GB, free: 108.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/35.71, allocations: 0.7555 MB / 7.171 GB, free: 108.6 MB / 1.276 GB Notification: Performance of SimCode: time 9.82e-07/35.71, allocations: 2.031 kB / 7.171 GB, free: 108.6 MB / 1.276 GB Notification: Performance of Templates: time 0.5594/36.27, allocations: 210.6 MB / 7.377 GB, free: 92.82 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)