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.643/1.643, allocations: 289.7 MB / 302.2 MB, free: 2.223 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.001127/0.001127, allocations: 182.8 kB / 371.6 MB, free: 3.398 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.606/1.606, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008468/0.0008471, allocations: 91.92 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.416e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.045/2.3, allocations: 487.6 MB / 1.456 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004638/2.301, allocations: 88.7 kB / 1.456 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.1/26.4, allocations: 5.387 GB / 6.843 GB, free: 52.47 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.505e-06/26.4, allocations: 0 / 6.843 GB, free: 52.47 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002669/26.4, allocations: 320.2 kB / 6.844 GB, free: 52.41 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.04196/26.44, allocations: 10.65 MB / 6.854 GB, free: 47.46 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/26.44, allocations: 11.47 kB / 6.854 GB, free: 47.46 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/26.46, allocations: 2.479 MB / 6.857 GB, free: 46.68 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06179/26.52, allocations: 19.08 MB / 6.875 GB, free: 44.55 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009305/26.52, allocations: 0.56 MB / 6.876 GB, free: 44.53 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/26.53, allocations: 0.7456 MB / 6.876 GB, free: 44.52 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/26.56, allocations: 8.296 MB / 6.885 GB, free: 43.23 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000365/26.56, allocations: 21.31 kB / 6.885 GB, free: 43.22 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/26.56, allocations: 313.2 kB / 6.885 GB, free: 43.21 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/26.56, allocations: 197.4 kB / 6.885 GB, free: 43.21 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/26.58, allocations: 5.922 MB / 6.891 GB, free: 43.06 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 0.1029/26.68, allocations: 46.14 MB / 6.936 GB, free: 16.73 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/26.69, allocations: 3.662 MB / 6.939 GB, free: 16.62 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005179/26.69, allocations: 2.05 MB / 6.941 GB, free: 16.59 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03038/26.73, allocations: 9.67 MB / 6.951 GB, free: 12.75 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00569/26.73, allocations: 1.993 MB / 6.953 GB, free: 12.64 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009327/26.74, allocations: 0.6326 MB / 6.953 GB, free: 12.41 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 5.658e-05/26.74, allocations: 0 / 6.953 GB, free: 12.41 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01447/26.76, allocations: 4.173 MB / 6.958 GB, free: 11.66 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/26.76, allocations: 87.11 kB / 6.958 GB, free: 11.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03301/26.79, allocations: 8.224 MB / 6.966 GB, free: 10.96 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001939/26.79, allocations: 117.5 kB / 6.966 GB, free: 10.93 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/26.8, allocations: 5.543 MB / 6.971 GB, free: 9.363 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00262/26.8, allocations: 1.18 MB / 6.972 GB, free: 8.613 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/26.81, allocations: 97.48 kB / 6.972 GB, free: 8.613 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006188/26.81, allocations: 495 kB / 6.973 GB, free: 8.301 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/26.81, allocations: 1.497 MB / 6.974 GB, free: 8.285 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00696/26.82, allocations: 3.641 MB / 6.978 GB, free: 5.574 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/26.82, allocations: 2.12 MB / 6.98 GB, free: 5.348 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.365e-05/26.82, allocations: 17.47 kB / 6.98 GB, free: 5.348 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01917/26.84, allocations: 6.017 MB / 6.986 GB, free: 3.852 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01408/26.86, allocations: 31.29 MB / 7.016 GB, free: 2.148 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/26.86, allocations: 51.44 kB / 7.016 GB, free: 2.148 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/26.86, allocations: 0.5319 MB / 7.017 GB, free: 1.957 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/26.86, allocations: 1.11 MB / 7.018 GB, free: 1.844 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/26.87, allocations: 8.309 MB / 7.026 GB, free: 10.28 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/26.88, allocations: 0.7135 MB / 7.027 GB, free: 10.09 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/26.89, allocations: 266.6 kB / 7.027 GB, free: 10.05 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/26.89, allocations: 5.969 kB / 7.027 GB, free: 10.05 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01312/26.9, allocations: 5.027 MB / 7.032 GB, free: 8.035 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/26.9, allocations: 53.39 kB / 7.032 GB, free: 8.035 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/26.9, allocations: 0.5221 MB / 7.033 GB, free: 7.848 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/26.91, allocations: 1.081 MB / 7.034 GB, free: 7.73 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/26.91, allocations: 8.304 MB / 7.042 GB, free: 176 kB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/26.93, allocations: 0.7005 MB / 7.042 GB, free: 0 / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/26.93, allocations: 262.5 kB / 7.043 GB, free: 0 / 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 () * 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.002858/26.93, allocations: 446.8 kB / 7.043 GB, free: 15.64 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004741/26.94, allocations: 0.9757 MB / 7.044 GB, free: 15.12 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/26.95, allocations: 5.052 MB / 7.049 GB, free: 13.15 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/26.95, allocations: 37.42 kB / 7.049 GB, free: 13.15 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/26.95, allocations: 3.812 kB / 7.049 GB, free: 13.15 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007498/26.96, allocations: 3.487 MB / 7.052 GB, free: 11.77 MB / 1.276 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.04515/27.01, allocations: 12.32 MB / 7.064 GB, free: 6.738 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/27.01, allocations: 6.125 kB / 7.064 GB, free: 6.738 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/27.01, allocations: 0.7052 MB / 7.065 GB, free: 6.68 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/27.01, allocations: 461.5 kB / 7.066 GB, free: 6.488 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006893/27.01, allocations: 107.8 kB / 7.066 GB, free: 6.441 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458/28.47, allocations: 8.196 MB / 7.074 GB, free: 113.7 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/28.47, allocations: 8.594 kB / 7.074 GB, free: 113.7 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/28.49, allocations: 6.874 MB / 7.08 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01013/28.5, allocations: 1.731 MB / 7.082 GB, free: 113 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005174/28.5, allocations: 76.11 kB / 7.082 GB, free: 113 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01237/28.52, allocations: 0.6469 MB / 7.083 GB, free: 113 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/28.52, allocations: 225.1 kB / 7.083 GB, free: 113 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001417/28.52, allocations: 197.7 kB / 7.083 GB, free: 113 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02287/28.54, allocations: 6.299 MB / 7.089 GB, free: 112.6 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.552e-06/28.54, allocations: 1.359 kB / 7.089 GB, free: 112.6 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0379/28.58, allocations: 5.836 MB / 7.095 GB, free: 112.3 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) * 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.01683/28.6, allocations: 6.762 MB / 7.102 GB, free: 109.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02209/28.62, allocations: 7.606 MB / 7.109 GB, free: 109 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-05/28.62, allocations: 7.156 kB / 7.109 GB, free: 109 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006377/28.62, allocations: 2.153 MB / 7.111 GB, free: 108.7 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03344/28.66, allocations: 4.865 MB / 7.116 GB, free: 108.6 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05898/28.72, allocations: 14.73 MB / 7.13 GB, free: 105.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/28.73, allocations: 5.671 MB / 7.136 GB, free: 104.2 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03017/28.76, allocations: 3.836 MB / 7.14 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003862/28.76, allocations: 0.5618 MB / 7.14 GB, free: 104.1 MB / 1.276 GB Notification: Performance of SimCode: time 3.537e-06/28.76, allocations: 3.188 kB / 7.14 GB, free: 104.1 MB / 1.276 GB Notification: Performance of Templates: time 0.4142/29.18, allocations: 228.8 MB / 7.364 GB, free: 86.75 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)