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.503/2.503, allocations: 285 MB / 292.5 MB, free: 10.51 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.002056/0.002056, allocations: 180.9 kB / 360.7 MB, free: 7.211 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.478/2.478, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 99.23 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.319e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9055/0.9056, allocations: 115.2 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/2.305, allocations: 485.8 MB / 1.438 GB, free: 79.87 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/2.305, allocations: 88.59 kB / 1.438 GB, free: 79.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 31.03/33.33, allocations: 5.363 GB / 6.801 GB, free: 29.44 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.605e-06/33.33, allocations: 0 / 6.801 GB, free: 29.44 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002895/33.34, allocations: 315.7 kB / 6.802 GB, free: 29.13 MB / 1.182 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.04048/33.38, allocations: 10.64 MB / 6.812 GB, free: 18.37 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/33.38, allocations: 12.03 kB / 6.812 GB, free: 18.36 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/33.4, allocations: 2.472 MB / 6.814 GB, free: 15.87 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08125/33.48, allocations: 19.09 MB / 6.833 GB, free: 12.79 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000785/33.48, allocations: 236 kB / 6.833 GB, free: 12.55 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/33.48, allocations: 448 kB / 6.834 GB, free: 12.12 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02391/33.51, allocations: 5.561 MB / 6.839 GB, free: 6.551 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/33.54, allocations: 7.254 MB / 6.846 GB, free: 14.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004338/33.54, allocations: 23.72 kB / 6.846 GB, free: 14.88 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/33.54, allocations: 20 kB / 6.846 GB, free: 14.86 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003173/33.54, allocations: 200 kB / 6.847 GB, free: 14.66 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.59/36.13, allocations: 44.89 MB / 6.89 GB, free: 48.14 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/36.15, allocations: 3.624 MB / 6.894 GB, free: 48.09 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005888/36.15, allocations: 2.014 MB / 6.896 GB, free: 48.06 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03413/36.19, allocations: 9.513 MB / 6.905 GB, free: 44.43 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006127/36.19, allocations: 1.865 MB / 6.907 GB, free: 44.33 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008992/36.2, allocations: 0.543 MB / 6.908 GB, free: 44.33 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 3.703e-05/36.2, allocations: 0 / 6.908 GB, free: 44.33 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01955/36.22, allocations: 4.377 MB / 6.912 GB, free: 43.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/36.22, allocations: 87.27 kB / 6.912 GB, free: 43.54 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02509/36.25, allocations: 7.613 MB / 6.919 GB, free: 42.98 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001484/36.25, allocations: 40.62 kB / 6.919 GB, free: 42.95 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01036/36.26, allocations: 5.522 MB / 6.925 GB, free: 41.84 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002613/36.26, allocations: 1.124 MB / 6.926 GB, free: 41.25 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/36.26, allocations: 0 / 6.926 GB, free: 41.25 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004418/36.26, allocations: 495.8 kB / 6.926 GB, free: 40.94 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/36.27, allocations: 1.468 MB / 6.928 GB, free: 40.93 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007221/36.27, allocations: 3.548 MB / 6.931 GB, free: 38.32 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/36.28, allocations: 2.346 MB / 6.934 GB, free: 38.26 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/36.28, allocations: 15.72 kB / 6.934 GB, free: 38.26 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02516/36.31, allocations: 5.91 MB / 6.939 GB, free: 37.55 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01311/36.32, allocations: 31.15 MB / 6.97 GB, free: 36.46 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003287/36.32, allocations: 54.09 kB / 6.97 GB, free: 36.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/36.33, allocations: 497 kB / 6.97 GB, free: 36.38 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009552/36.34, allocations: 1.111 MB / 6.971 GB, free: 36.38 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009847/36.35, allocations: 8.22 MB / 6.979 GB, free: 29.69 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01507/36.36, allocations: 0.608 MB / 6.98 GB, free: 29.66 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/36.36, allocations: 274.8 kB / 6.98 GB, free: 29.66 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/36.36, allocations: 4.031 kB / 6.98 GB, free: 29.66 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02633/36.39, allocations: 4.699 MB / 6.985 GB, free: 29.48 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002818/36.39, allocations: 51.62 kB / 6.985 GB, free: 29.48 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/36.39, allocations: 498.2 kB / 6.985 GB, free: 29.4 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/36.4, allocations: 1.083 MB / 6.986 GB, free: 29.4 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/36.41, allocations: 8.232 MB / 6.994 GB, free: 22.69 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01802/36.43, allocations: 0.5927 MB / 6.995 GB, free: 22.66 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/36.43, allocations: 252.9 kB / 6.995 GB, free: 22.66 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.003286/36.44, allocations: 292.6 kB / 6.996 GB, free: 22.56 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004803/36.44, allocations: 0.9681 MB / 6.996 GB, free: 22.04 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/36.47, allocations: 4.92 MB / 7.001 GB, free: 21.69 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/36.47, allocations: 41.09 kB / 7.001 GB, free: 21.69 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/36.47, allocations: 4.938 kB / 7.001 GB, free: 21.69 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01396/36.48, allocations: 3.445 MB / 7.005 GB, free: 21.45 MB / 1.245 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.04943/36.53, allocations: 11.38 MB / 7.016 GB, free: 20.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.662e-05/36.53, allocations: 2.25 kB / 7.016 GB, free: 20.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007055/36.54, allocations: 0.7044 MB / 7.016 GB, free: 20.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/36.54, allocations: 428 kB / 7.017 GB, free: 20.72 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/36.54, allocations: 70.34 kB / 7.017 GB, free: 20.72 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/36.55, allocations: 8.122 MB / 7.025 GB, free: 30.02 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/36.55, allocations: 2.344 kB / 7.025 GB, free: 30.02 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/36.57, allocations: 6.769 MB / 7.031 GB, free: 28.93 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01201/36.59, allocations: 1.719 MB / 7.033 GB, free: 28.31 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005565/36.59, allocations: 16.92 kB / 7.033 GB, free: 28.31 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01875/36.61, allocations: 0.5856 MB / 7.034 GB, free: 28.29 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/36.61, allocations: 228.2 kB / 7.034 GB, free: 28.28 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001303/36.61, allocations: 195.6 kB / 7.034 GB, free: 28.28 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.02526/36.64, allocations: 5.712 MB / 7.04 GB, free: 28 MB / 1.261 GB Notification: Performance of sort global known variables: time 1.001e-06/36.64, allocations: 0 / 7.04 GB, free: 28 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.0407/36.68, allocations: 5.603 MB / 7.045 GB, free: 27.66 MB / 1.261 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.01851/36.7, allocations: 6.523 MB / 7.052 GB, free: 24.94 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.02237/36.72, allocations: 7.254 MB / 7.059 GB, free: 24.4 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/36.72, allocations: 4.469 kB / 7.059 GB, free: 24.4 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.006717/36.73, allocations: 2.081 MB / 7.061 GB, free: 24.18 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03898/36.77, allocations: 4.692 MB / 7.065 GB, free: 24.09 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/36.82, allocations: 14.53 MB / 7.079 GB, free: 20.54 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/36.84, allocations: 5.665 MB / 7.085 GB, free: 19.48 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.03617/36.87, allocations: 3.784 MB / 7.089 GB, free: 19.02 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003175/36.88, allocations: 0.5568 MB / 7.089 GB, free: 19.01 MB / 1.261 GB Notification: Performance of SimCode: time 1.252e-06/36.88, allocations: 0 / 7.089 GB, free: 19.01 MB / 1.261 GB Notification: Performance of Templates: time 0.5315/37.41, allocations: 193.5 MB / 7.278 GB, free: 8.559 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)