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.619/1.619, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001022/0.001022, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.424/1.424, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.000802/0.000802, allocations: 92.23 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004023, allocations: 11.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2332, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.751, allocations: 486.9 MB / 1.456 GB, free: 335.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.752, allocations: 98.8 kB / 1.456 GB, free: 335.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 18.55/20.3, allocations: 5.361 GB / 6.818 GB, free: 63.06 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.645e-06/20.3, allocations: 0 / 6.818 GB, free: 63.06 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001827/20.31, allocations: 320.9 kB / 6.818 GB, free: 63.01 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.03852/20.34, allocations: 13.58 MB / 6.831 GB, free: 57.04 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/20.34, allocations: 11.78 kB / 6.831 GB, free: 57.04 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/20.36, allocations: 2.484 MB / 6.834 GB, free: 56.33 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04167/20.4, allocations: 17.13 MB / 6.85 GB, free: 53.82 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007767/20.4, allocations: 0.5644 MB / 6.851 GB, free: 53.81 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/20.4, allocations: 0.7413 MB / 6.852 GB, free: 53.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/20.42, allocations: 8.613 MB / 6.86 GB, free: 52.59 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/20.42, allocations: 25.19 kB / 6.86 GB, free: 52.58 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009024/20.42, allocations: 312.4 kB / 6.86 GB, free: 52.58 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/20.43, allocations: 203.5 kB / 6.861 GB, free: 52.58 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/20.44, allocations: 6.373 MB / 6.867 GB, free: 52.52 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.05886/20.5, allocations: 45.77 MB / 6.911 GB, free: 26.78 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/20.51, allocations: 4.024 MB / 6.915 GB, free: 26.67 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004867/20.51, allocations: 2.244 MB / 6.918 GB, free: 26.62 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01706/20.53, allocations: 9.388 MB / 6.927 GB, free: 22.82 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004045/20.54, allocations: 2.173 MB / 6.929 GB, free: 22.7 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004958/20.54, allocations: 0.5887 MB / 6.929 GB, free: 22.52 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 8.956e-06/20.54, allocations: 2.5 kB / 6.929 GB, free: 22.52 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01435/20.55, allocations: 7.114 MB / 6.936 GB, free: 20.78 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/20.55, allocations: 87.58 kB / 6.936 GB, free: 20.71 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/20.57, allocations: 8.957 MB / 6.945 GB, free: 20.06 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0009745/20.57, allocations: 119.7 kB / 6.945 GB, free: 20.02 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.005157/20.58, allocations: 5.585 MB / 6.951 GB, free: 18.46 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/20.58, allocations: 1.174 MB / 6.952 GB, free: 17.71 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/20.58, allocations: 98.09 kB / 6.952 GB, free: 17.71 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002241/20.58, allocations: 494.6 kB / 6.952 GB, free: 17.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/20.59, allocations: 1.696 MB / 6.954 GB, free: 17.37 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/20.59, allocations: 3.856 MB / 6.958 GB, free: 14.68 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007978/20.6, allocations: 5.345 MB / 6.963 GB, free: 12.58 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/20.6, allocations: 12.53 kB / 6.963 GB, free: 12.58 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01279/20.61, allocations: 6.409 MB / 6.969 GB, free: 11.57 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007727/20.61, allocations: 1.686 MB / 6.971 GB, free: 9.426 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-05/20.61, allocations: 52.94 kB / 6.971 GB, free: 9.426 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/20.61, allocations: 0.5161 MB / 6.972 GB, free: 9.336 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/20.62, allocations: 1.116 MB / 6.973 GB, free: 9.254 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/20.62, allocations: 8.322 MB / 6.981 GB, free: 2.367 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/20.63, allocations: 0.7159 MB / 6.982 GB, free: 2.266 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/20.63, allocations: 268.8 kB / 6.982 GB, free: 2.266 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/20.63, allocations: 5.125 kB / 6.982 GB, free: 2.266 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01/20.64, allocations: 5.381 MB / 6.987 GB, free: 1.68 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.031e-05/20.64, allocations: 54.53 kB / 6.987 GB, free: 1.68 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/20.65, allocations: 0.5197 MB / 6.988 GB, free: 1.594 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/20.65, allocations: 1.082 MB / 6.989 GB, free: 1.512 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/20.66, allocations: 8.329 MB / 6.997 GB, free: 10.62 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0088/20.66, allocations: 0.6982 MB / 6.997 GB, free: 10.52 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008365/20.67, allocations: 257.8 kB / 6.998 GB, free: 10.52 MB / 1.229 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 (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.006836/20.67, allocations: 2.568 MB / 7 GB, free: 10.22 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002899/20.67, allocations: 0.9814 MB / 7.001 GB, free: 9.691 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/20.69, allocations: 5.407 MB / 7.006 GB, free: 9.254 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/20.69, allocations: 46.42 kB / 7.007 GB, free: 9.25 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/20.69, allocations: 6.766 kB / 7.007 GB, free: 9.25 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007693/20.7, allocations: 3.848 MB / 7.01 GB, free: 8.969 MB / 1.229 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.02979/20.73, allocations: 12.46 MB / 7.022 GB, free: 8.164 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/20.73, allocations: 5.844 kB / 7.022 GB, free: 8.164 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/20.73, allocations: 0.7079 MB / 7.023 GB, free: 8.125 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/20.73, allocations: 459 kB / 7.024 GB, free: 8.035 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003648/20.73, allocations: 112 kB / 7.024 GB, free: 8.035 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/20.74, allocations: 8.225 MB / 7.032 GB, free: 1.168 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/20.74, allocations: 0 / 7.032 GB, free: 1.168 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/20.75, allocations: 7.315 MB / 7.039 GB, free: 152 kB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005218/20.76, allocations: 1.642 MB / 7.04 GB, free: 15.51 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/20.76, allocations: 67.91 kB / 7.041 GB, free: 15.51 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007028/20.77, allocations: 0.6412 MB / 7.041 GB, free: 15.42 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/20.77, allocations: 224.9 kB / 7.041 GB, free: 15.42 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/20.77, allocations: 199.2 kB / 7.042 GB, free: 15.42 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.009496/20.78, allocations: 5.965 MB / 7.047 GB, free: 15.13 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.12e-07/20.78, allocations: 0 / 7.047 GB, free: 15.13 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02224/20.8, allocations: 5.562 MB / 7.053 GB, free: 14.34 MB / 1.245 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 (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.01007/20.81, allocations: 6.44 MB / 7.059 GB, free: 10.75 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01483/20.82, allocations: 7.79 MB / 7.067 GB, free: 9.434 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/20.82, allocations: 5.25 kB / 7.067 GB, free: 9.434 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.004488/20.83, allocations: 2.349 MB / 7.069 GB, free: 8.48 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0293/20.86, allocations: 4.852 MB / 7.074 GB, free: 7.406 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04197/20.9, allocations: 21.86 MB / 7.095 GB, free: 11.54 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006458/20.91, allocations: 5.435 MB / 7.1 GB, free: 10.07 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0129/20.92, allocations: 2.571 MB / 7.103 GB, free: 9.68 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/20.92, allocations: 0.7394 MB / 7.104 GB, free: 9.637 MB / 1.26 GB Notification: Performance of SimCode: time 8.32e-07/20.92, allocations: 4 kB / 7.104 GB, free: 9.633 MB / 1.26 GB Notification: Performance of Templates: time 1.275/22.2, allocations: 205.8 MB / 7.305 GB, free: 108 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)