Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct") translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002915/0.002915, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.44 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4064, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.1454/0.5518, allocations: 155.2 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8615/1.413, allocations: 34.2 MB / 1.253 GB, free: 33.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008821/1.422, allocations: 167.1 kB / 1.253 GB, free: 33.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01522/1.437, allocations: 5.51 MB / 1.259 GB, free: 33.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02032/1.458, allocations: 5.287 MB / 1.264 GB, free: 33.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01404/1.472, allocations: 4.291 MB / 1.268 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02918/1.501, allocations: 13.41 MB / 1.281 GB, free: 33.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/1.514, allocations: 3.633 MB / 1.285 GB, free: 32.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/1.53, allocations: 4.24 MB / 1.289 GB, free: 32.67 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009739/1.54, allocations: 2.929 MB / 1.292 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002897/1.543, allocations: 401 kB / 1.292 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/1.556, allocations: 2.925 MB / 1.295 GB, free: 32.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003561/1.559, allocations: 1.156 MB / 1.296 GB, free: 31.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00947/1.569, allocations: 2.393 MB / 1.298 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02167/1.591, allocations: 7.331 MB / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.591, allocations: 0 / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.518e-06/1.591, allocations: 0 / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004755/1.591, allocations: 4.719 kB / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.02281/1.614, allocations: 4.959 MB / 1.31 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.614, allocations: 10.81 kB / 1.31 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/1.618, allocations: 0.5792 MB / 1.311 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.631, allocations: 4.449 MB / 1.315 GB, free: 26.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/1.631, allocations: 184.8 kB / 1.316 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/1.632, allocations: 242.5 kB / 1.316 GB, free: 26.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008296/1.64, allocations: 2.474 MB / 1.318 GB, free: 26.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.641, allocations: 6.375 kB / 1.318 GB, free: 26.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006501/1.641, allocations: 93.62 kB / 1.318 GB, free: 26.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/1.641, allocations: 90.78 kB / 1.318 GB, free: 26.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/1.647, allocations: 1.849 MB / 1.32 GB, free: 26.48 MB / 0.9981 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.0226/1.669, allocations: 13.26 MB / 1.333 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.672, allocations: 1.222 MB / 1.334 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.673, allocations: 0.6759 MB / 1.335 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008151/1.681, allocations: 4.224 MB / 1.339 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/1.683, allocations: 0.7184 MB / 1.34 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=123): time 6.041e-06/1.683, allocations: 13.64 kB / 1.34 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123): time 0.006611/1.689, allocations: 2.163 MB / 1.342 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/1.689, allocations: 126.4 kB / 1.342 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/1.7, allocations: 3.507 MB / 1.345 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005248/1.7, allocations: 58.48 kB / 1.346 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/1.703, allocations: 1.76 MB / 1.347 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008878/1.704, allocations: 450.9 kB / 1.348 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/1.706, allocations: 475.2 kB / 1.348 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/1.706, allocations: 301.1 kB / 1.348 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/1.707, allocations: 0.7553 MB / 1.349 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.71, allocations: 1.389 MB / 1.35 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/1.713, allocations: 2.029 MB / 1.352 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/1.713, allocations: 5.5 kB / 1.352 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.006511/1.72, allocations: 2.59 MB / 1.355 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.72, allocations: 10.66 kB / 1.355 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/1.72, allocations: 16.94 kB / 1.355 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/1.72, allocations: 125.2 kB / 1.355 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.722, allocations: 456.6 kB / 1.356 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005787/1.723, allocations: 0.6537 MB / 1.356 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/1.726, allocations: 268.9 kB / 1.356 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/1.727, allocations: 90.11 kB / 1.357 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003544/1.73, allocations: 1.452 MB / 1.358 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002004/1.732, allocations: 1.373 MB / 1.359 GB, free: 15.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003779/1.736, allocations: 1.993 MB / 1.361 GB, free: 14.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.671e-05/1.736, allocations: 5.656 kB / 1.361 GB, free: 14.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.006091/1.742, allocations: 2.524 MB / 1.364 GB, free: 12.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.742, allocations: 8 kB / 1.364 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/1.742, allocations: 16 kB / 1.364 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/1.743, allocations: 73.52 kB / 1.364 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.744, allocations: 453.3 kB / 1.364 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/1.746, allocations: 1.748 MB / 1.366 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.75, allocations: 214.9 kB / 1.366 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/1.75, allocations: 87.98 kB / 1.366 GB, free: 9.926 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/1.751, allocations: 314.1 kB / 1.367 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.752, allocations: 363.3 kB / 1.367 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/1.757, allocations: 1.867 MB / 1.369 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-05/1.757, allocations: 19.98 kB / 1.369 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.757, allocations: 0 / 1.369 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002488/1.76, allocations: 1.245 MB / 1.37 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.773, allocations: 4.763 MB / 1.375 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.773, allocations: 0 / 1.375 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.774, allocations: 248.1 kB / 1.375 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/1.775, allocations: 80.95 kB / 1.375 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.775, allocations: 43.97 kB / 1.375 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005419/1.775, allocations: 0.6322 MB / 1.376 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.775, allocations: 4 kB / 1.376 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/1.782, allocations: 2.719 MB / 1.378 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/1.785, allocations: 0.6367 MB / 1.379 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.786, allocations: 31.98 kB / 1.379 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.789, allocations: 71.88 kB / 1.379 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.79, allocations: 87.81 kB / 1.379 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.79, allocations: 67.95 kB / 1.379 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.006793/1.797, allocations: 2.337 MB / 1.381 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.01e-07/1.797, allocations: 0 / 1.381 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01001/1.807, allocations: 1.855 MB / 1.383 GB, free: 8.441 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 14 (heaETS.senTDisSup.T,heaETS.jun.vol.dynBal.U,heaETS.senTDisRet.T,heaETS.spl.vol.dynBal.U,heaETS.conVal.filter.s[1],heaETS.conVal.filter.s[2],heaETS.senTBuiRet.T,heaETS.int.y,heaETS.con.I.y,heaETS.senTBuiSup.T,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of discrete states: 2 (QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004398/1.811, allocations: 1.274 MB / 1.384 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008781/1.82, allocations: 3.25 MB / 1.388 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.82, allocations: 3.938 kB / 1.388 GB, free: 4.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.822, allocations: 0.6964 MB / 1.388 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01281/1.834, allocations: 1.858 MB / 1.39 GB, free: 1.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.85, allocations: 6.484 MB / 1.396 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/1.854, allocations: 2.192 MB / 1.399 GB, free: 9.121 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.005841/1.859, allocations: 0.8506 MB / 1.399 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.861, allocations: 271.4 kB / 1.4 GB, free: 8.008 MB / 1.045 GB Notification: Performance of SimCode: time 1.553e-06/1.861, allocations: 0 / 1.4 GB, free: 8.008 MB / 1.045 GB Notification: Performance of Templates: time 0.1395/2, allocations: 71.76 MB / 1.47 GB, free: 1.43 MB / 1.107 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.makefile (rm -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)