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.694/2.694, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.001449/0.001448, allocations: 184.1 kB / 365.7 MB, free: 2.551 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.127/2.127, allocations: 205.1 MB / 0.6241 GB, free: 8.156 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.001061/0.001061, allocations: 97 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.799e-05, allocations: 0 / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.828/0.8281, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/2.236, allocations: 486.4 MB / 1.445 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/2.237, allocations: 89.14 kB / 1.445 GB, free: 71.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 31.85/34.09, allocations: 5.387 GB / 6.832 GB, free: 43.23 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.013e-06/34.09, allocations: 0 / 6.832 GB, free: 43.23 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002759/34.09, allocations: 315.6 kB / 6.833 GB, free: 43.14 MB / 1.198 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.04871/34.14, allocations: 10.65 MB / 6.843 GB, free: 35.87 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/34.14, allocations: 10.91 kB / 6.843 GB, free: 35.87 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02927/34.17, allocations: 2.473 MB / 6.846 GB, free: 33.73 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1107/34.28, allocations: 19.08 MB / 6.864 GB, free: 14.67 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/34.28, allocations: 0.5645 MB / 6.865 GB, free: 14.11 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/34.28, allocations: 0.7382 MB / 6.865 GB, free: 13.37 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04241/34.33, allocations: 8.295 MB / 6.874 GB, free: 4.672 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006948/34.33, allocations: 15.88 kB / 6.874 GB, free: 4.656 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004074/34.33, allocations: 312 kB / 6.874 GB, free: 4.352 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003223/34.33, allocations: 199.9 kB / 6.874 GB, free: 4.156 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/34.36, allocations: 5.924 MB / 6.88 GB, free: 14.22 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 1.538/35.9, allocations: 46.13 MB / 6.925 GB, free: 59.11 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/35.91, allocations: 3.673 MB / 6.928 GB, free: 59.05 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006447/35.92, allocations: 2.058 MB / 6.931 GB, free: 59.02 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03605/35.96, allocations: 9.664 MB / 6.94 GB, free: 55.42 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007189/35.96, allocations: 1.991 MB / 6.942 GB, free: 55.31 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009365/35.97, allocations: 0.6214 MB / 6.942 GB, free: 55.31 MB / 1.229 GB Notification: Performance of pre-optimization done (n=339): time 2.516e-05/35.97, allocations: 2.781 kB / 6.942 GB, free: 55.31 MB / 1.229 GB Notification: Performance of matching and sorting (n=339): time 0.01678/35.99, allocations: 4.175 MB / 6.947 GB, free: 55.09 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/35.99, allocations: 93.88 kB / 6.947 GB, free: 55.02 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02824/36.02, allocations: 8.224 MB / 6.955 GB, free: 54.42 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.00157/36.02, allocations: 123.1 kB / 6.955 GB, free: 54.39 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01064/36.03, allocations: 5.541 MB / 6.96 GB, free: 53.29 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002914/36.03, allocations: 1.175 MB / 6.961 GB, free: 52.7 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008614/36.04, allocations: 99.92 kB / 6.961 GB, free: 52.7 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0006108/36.04, allocations: 489.8 kB / 6.962 GB, free: 52.39 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006015/36.04, allocations: 1.501 MB / 6.963 GB, free: 52.38 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008264/36.05, allocations: 3.64 MB / 6.967 GB, free: 49.75 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/36.06, allocations: 2.117 MB / 6.969 GB, free: 49.68 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/36.06, allocations: 17.41 kB / 6.969 GB, free: 49.68 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02884/36.09, allocations: 6.019 MB / 6.975 GB, free: 48.97 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01276/36.1, allocations: 31.28 MB / 7.005 GB, free: 31.89 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003494/36.1, allocations: 53.88 kB / 7.006 GB, free: 31.89 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/36.1, allocations: 0.5282 MB / 7.006 GB, free: 31.81 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/36.12, allocations: 1.119 MB / 7.007 GB, free: 31.81 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/36.13, allocations: 8.302 MB / 7.015 GB, free: 40.99 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02021/36.15, allocations: 0.7155 MB / 7.016 GB, free: 40.96 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/36.15, allocations: 266.3 kB / 7.016 GB, free: 40.96 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/36.15, allocations: 3.75 kB / 7.016 GB, free: 40.96 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01971/36.17, allocations: 5.022 MB / 7.021 GB, free: 40.79 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/36.17, allocations: 56.02 kB / 7.021 GB, free: 40.79 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/36.17, allocations: 0.5263 MB / 7.022 GB, free: 40.71 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008876/36.18, allocations: 1.079 MB / 7.023 GB, free: 40.71 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00899/36.19, allocations: 8.31 MB / 7.031 GB, free: 33.88 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01555/36.21, allocations: 0.7011 MB / 7.032 GB, free: 33.86 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/36.21, allocations: 251.3 kB / 7.032 GB, free: 33.86 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 () * 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.002564/36.21, allocations: 446.2 kB / 7.032 GB, free: 33.75 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004089/36.22, allocations: 0.9788 MB / 7.033 GB, free: 33.22 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/36.24, allocations: 5.05 MB / 7.038 GB, free: 32.87 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.223e-05/36.24, allocations: 46.47 kB / 7.038 GB, free: 32.87 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/36.24, allocations: 0 / 7.038 GB, free: 32.87 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01203/36.25, allocations: 3.487 MB / 7.042 GB, free: 32.62 MB / 1.26 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.05395/36.3, allocations: 12.32 MB / 7.054 GB, free: 31.88 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/36.3, allocations: 0 / 7.054 GB, free: 31.88 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007601/36.31, allocations: 0.7034 MB / 7.054 GB, free: 31.88 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/36.31, allocations: 461.8 kB / 7.055 GB, free: 31.8 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000981/36.31, allocations: 107.7 kB / 7.055 GB, free: 31.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008578/36.32, allocations: 8.213 MB / 7.063 GB, free: 24.98 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/36.32, allocations: 3.953 kB / 7.063 GB, free: 24.98 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/36.34, allocations: 6.874 MB / 7.07 GB, free: 39.89 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01002/36.36, allocations: 1.736 MB / 7.071 GB, free: 39.26 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004096/36.36, allocations: 68.72 kB / 7.071 GB, free: 39.26 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01479/36.37, allocations: 0.6547 MB / 7.072 GB, free: 39.24 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/36.38, allocations: 224.5 kB / 7.072 GB, free: 39.24 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009621/36.38, allocations: 201.2 kB / 7.072 GB, free: 39.24 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02182/36.4, allocations: 6.301 MB / 7.078 GB, free: 38.91 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.613e-06/36.4, allocations: 0 / 7.078 GB, free: 38.91 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03791/36.44, allocations: 5.829 MB / 7.084 GB, free: 38.58 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.01847/36.45, allocations: 6.755 MB / 7.091 GB, free: 35.8 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02321/36.48, allocations: 7.609 MB / 7.098 GB, free: 35.22 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/36.48, allocations: 6.5 kB / 7.098 GB, free: 35.22 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006631/36.48, allocations: 2.162 MB / 7.1 GB, free: 34.97 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03993/36.52, allocations: 4.865 MB / 7.105 GB, free: 34.88 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0506/36.58, allocations: 14.74 MB / 7.119 GB, free: 31.33 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/36.59, allocations: 5.666 MB / 7.125 GB, free: 30.33 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03245/36.62, allocations: 3.836 MB / 7.129 GB, free: 29.86 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/36.62, allocations: 0.5605 MB / 7.129 GB, free: 29.84 MB / 1.276 GB Notification: Performance of SimCode: time 1.322e-06/36.62, allocations: 0.6562 kB / 7.129 GB, free: 29.84 MB / 1.276 GB Notification: Performance of Templates: time 0.6195/37.24, allocations: 228.7 MB / 7.353 GB, free: 3.801 MB / 1.292 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)