Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.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.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108 kB / 15.61 MB, free: 148 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.001224/0.001224, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.83 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3877, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1162/0.5039, allocations: 115.3 MB / 1.181 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04614/0.5501, allocations: 31.14 MB / 1.211 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007983/0.5581, allocations: 131.2 kB / 1.211 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01319/0.5713, allocations: 5.224 MB / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.5861, allocations: 4.376 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.5977, allocations: 3.98 MB / 1.225 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0188/0.6165, allocations: 11.03 MB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00688/0.6235, allocations: 3.018 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.6341, allocations: 3.584 MB / 1.242 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005304/0.6395, allocations: 2.4 MB / 1.244 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.6412, allocations: 356 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009968/0.6512, allocations: 3.651 MB / 1.248 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.6535, allocations: 1.004 MB / 1.249 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.731/1.385, allocations: 2.05 MB / 1.251 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01947/1.404, allocations: 6.846 MB / 1.258 GB, free: 34.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.404, allocations: 0 / 1.258 GB, free: 34.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.876e-06/1.404, allocations: 1.531 kB / 1.258 GB, free: 34.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002664/1.404, allocations: 0 / 1.258 GB, free: 34.98 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01669/1.421, allocations: 4.503 MB / 1.262 GB, free: 32.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.421, allocations: 11.31 kB / 1.262 GB, free: 32.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/1.426, allocations: 0.8416 MB / 1.263 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.437, allocations: 3.965 MB / 1.267 GB, free: 32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/1.438, allocations: 335.2 kB / 1.267 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/1.44, allocations: 209.4 kB / 1.267 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/1.446, allocations: 2.353 MB / 1.27 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/1.446, allocations: 8.281 kB / 1.27 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.446, allocations: 84.03 kB / 1.27 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.344e-05/1.446, allocations: 73.73 kB / 1.27 GB, free: 31.69 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006182/1.452, allocations: 2.056 MB / 1.272 GB, free: 31.64 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.02377/1.476, allocations: 11.79 MB / 1.283 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/1.481, allocations: 1.668 MB / 1.285 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/1.484, allocations: 0.9112 MB / 1.286 GB, free: 26.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/1.495, allocations: 5.407 MB / 1.291 GB, free: 23.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002445/1.498, allocations: 1.005 MB / 1.292 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001747/1.499, allocations: 142.8 kB / 1.292 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=134): time 6.762e-06/1.499, allocations: 0 / 1.292 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137): time 0.01896/1.518, allocations: 5.816 MB / 1.298 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.519, allocations: 118.5 kB / 1.298 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00635/1.525, allocations: 3.07 MB / 1.301 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007756/1.526, allocations: 60.23 kB / 1.301 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.527, allocations: 1.443 MB / 1.302 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/1.528, allocations: 492.8 kB / 1.303 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008921/1.529, allocations: 498 kB / 1.303 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/1.529, allocations: 301.1 kB / 1.304 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.532, allocations: 0.9853 MB / 1.305 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/1.535, allocations: 1.52 MB / 1.306 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/1.54, allocations: 2.304 MB / 1.308 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/1.54, allocations: 3 kB / 1.308 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008898/1.549, allocations: 3.039 MB / 1.311 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/1.549, allocations: 11.69 kB / 1.311 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/1.549, allocations: 11.91 kB / 1.311 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.55, allocations: 326.8 kB / 1.312 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.552, allocations: 0.4955 MB / 1.312 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/1.553, allocations: 1.475 MB / 1.314 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.557, allocations: 172.9 kB / 1.314 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/1.557, allocations: 96.53 kB / 1.314 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003779/1.561, allocations: 1.557 MB / 1.315 GB, free: 17.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00271/1.564, allocations: 1.488 MB / 1.317 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004399/1.568, allocations: 2.254 MB / 1.319 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.404e-05/1.568, allocations: 2.531 kB / 1.319 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.0071/1.575, allocations: 2.949 MB / 1.322 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.576, allocations: 10.56 kB / 1.322 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.576, allocations: 11.56 kB / 1.322 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/1.577, allocations: 292.2 kB / 1.322 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.578, allocations: 0.4958 MB / 1.323 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/1.581, allocations: 2.553 MB / 1.325 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.584, allocations: 187.2 kB / 1.325 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/1.584, allocations: 103.9 kB / 1.325 GB, free: 14.37 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,heaETS.hex.flowRegime_nominal,heaETS.hex.flowRegime,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 (238): * Single equations (assignments): 234 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,14), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007568/1.585, allocations: 307 kB / 1.326 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.586, allocations: 323.3 kB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.592, allocations: 2.53 MB / 1.329 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/1.593, allocations: 18.25 kB / 1.329 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.593, allocations: 0 / 1.329 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004183/1.597, allocations: 2.086 MB / 1.331 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.608, allocations: 5.247 MB / 1.336 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.608, allocations: 2.375 kB / 1.336 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.61, allocations: 324.2 kB / 1.336 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/1.61, allocations: 196.4 kB / 1.336 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.61, allocations: 51.42 kB / 1.336 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000809/1.611, allocations: 1.33 MB / 1.338 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.611, allocations: 6.062 kB / 1.338 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/1.619, allocations: 3.536 MB / 1.341 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.621, allocations: 0.6392 MB / 1.342 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008094/1.622, allocations: 34.47 kB / 1.342 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.624, allocations: 139.8 kB / 1.342 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.624, allocations: 104.3 kB / 1.342 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.625, allocations: 74.62 kB / 1.342 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00341/1.628, allocations: 2.037 MB / 1.344 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.628, allocations: 4 kB / 1.344 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007241/1.635, allocations: 1.514 MB / 1.345 GB, free: 8.391 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (heaETS.senTDisSup.T,heaETS.conVal.filter.s[1],heaETS.conVal.filter.s[2],heaETS.senTDisRet.T,heaETS.senTBuiRet.T,heaETS.senTBuiSup.T,heaETS.con.I.y,heaETS.int.y,loa.vol.dynBal.U,pumBui.filter.s[1],pumBui.filter.s[2]) * 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 (145): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003679/1.639, allocations: 1.286 MB / 1.347 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.649, allocations: 4.01 MB / 1.351 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/1.649, allocations: 2.078 kB / 1.351 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.652, allocations: 1.026 MB / 1.352 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008974/1.661, allocations: 1.473 MB / 1.353 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.673, allocations: 6.052 MB / 1.359 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.674, allocations: 1.986 MB / 1.361 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004237/1.678, allocations: 0.7995 MB / 1.362 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/1.679, allocations: 263.6 kB / 1.362 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of SimCode: time 9.41e-07/1.679, allocations: 0 / 1.362 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.123/1.802, allocations: 68.8 MB / 1.429 GB, free: 14.02 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile (rm -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1)