Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001327, allocations: 108 kB / 15.6 MB, free: 132 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.001631/0.001631, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.411/1.411, 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.681/2.681, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 69.7 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8284/1.153, allocations: 189.8 MB / 1.254 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03163/1.185, allocations: 26.04 MB / 1.279 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/1.188, allocations: 61.78 kB / 1.279 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/1.199, allocations: 4.937 MB / 1.284 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/1.211, allocations: 3.861 MB / 1.288 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005442/1.216, allocations: 2.12 MB / 1.29 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.227, allocations: 7.387 MB / 1.297 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/1.229, allocations: 1.546 MB / 1.298 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005726/1.235, allocations: 2.316 MB / 1.301 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/1.238, allocations: 1.362 MB / 1.302 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004183/1.238, allocations: 196.5 kB / 1.302 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/1.248, allocations: 4.527 MB / 1.307 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008992/1.249, allocations: 0.6597 MB / 1.307 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/1.251, allocations: 1.204 MB / 1.308 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/1.262, allocations: 5.615 MB / 1.314 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.262, allocations: 1.031 kB / 1.314 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.262, allocations: 0 / 1.314 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.52e-05/1.262, allocations: 0 / 1.314 GB, free: 4.008 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00747/1.269, allocations: 2.791 MB / 1.317 GB, free: 18.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.269, allocations: 10.31 kB / 1.317 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/1.274, allocations: 0.6458 MB / 1.317 GB, free: 18.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/1.279, allocations: 2.772 MB / 1.32 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/1.279, allocations: 94.61 kB / 1.32 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/1.279, allocations: 113.3 kB / 1.32 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/1.282, allocations: 1.341 MB / 1.322 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/1.282, allocations: 6.562 kB / 1.322 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.282, allocations: 44.88 kB / 1.322 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/1.282, allocations: 42.48 kB / 1.322 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/1.285, allocations: 1.122 MB / 1.323 GB, free: 17.73 MB / 1.014 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.009879/1.295, allocations: 6.799 MB / 1.329 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/1.297, allocations: 0.8697 MB / 1.33 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/1.297, allocations: 390.9 kB / 1.331 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007378/1.305, allocations: 2.792 MB / 1.333 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/1.306, allocations: 0.498 MB / 1.334 GB, free: 11.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 3.366e-06/1.306, allocations: 7.578 kB / 1.334 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.05401/1.36, allocations: 18.73 MB / 1.352 GB, free: 5.988 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.36, allocations: 169.4 kB / 1.352 GB, free: 5.797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/1.364, allocations: 1.985 MB / 1.354 GB, free: 4.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.364, allocations: 43.58 kB / 1.354 GB, free: 4.641 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009412/1.365, allocations: 0.8703 MB / 1.355 GB, free: 3.883 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/1.365, allocations: 296.2 kB / 1.355 GB, free: 3.633 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000563/1.366, allocations: 344.9 kB / 1.356 GB, free: 3.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/1.366, allocations: 304.1 kB / 1.356 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.367, allocations: 0.6452 MB / 1.357 GB, free: 2.812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/1.369, allocations: 1.063 MB / 1.358 GB, free: 1.977 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/1.372, allocations: 1.628 MB / 1.359 GB, free: 0.918 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.372, allocations: 3 kB / 1.359 GB, free: 0.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005261/1.377, allocations: 2.114 MB / 1.361 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.377, allocations: 9.531 kB / 1.361 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.377, allocations: 13.5 kB / 1.361 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/1.378, allocations: 224.6 kB / 1.362 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.38, allocations: 312 kB / 1.362 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/1.385, allocations: 4.163 MB / 1.366 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.387, allocations: 107.9 kB / 1.366 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.387, allocations: 67.05 kB / 1.366 GB, free: 11.78 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001217/1.389, allocations: 0.5658 MB / 1.367 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008189/1.389, allocations: 197.5 kB / 1.367 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/1.393, allocations: 1.483 MB / 1.368 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.394, allocations: 12 kB / 1.368 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.394, allocations: 7.984 kB / 1.368 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002771/1.396, allocations: 1.26 MB / 1.37 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02814/1.424, allocations: 9.21 MB / 1.379 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.425, allocations: 8 kB / 1.379 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/1.425, allocations: 177.4 kB / 1.379 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/1.426, allocations: 160.7 kB / 1.379 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/1.426, allocations: 35.92 kB / 1.379 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/1.43, allocations: 2.372 MB / 1.381 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.43, allocations: 4.188 kB / 1.381 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/1.434, allocations: 1.878 MB / 1.383 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.436, allocations: 402.4 kB / 1.383 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006374/1.436, allocations: 24 kB / 1.383 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.438, allocations: 83.92 kB / 1.384 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.438, allocations: 81.41 kB / 1.384 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/1.438, allocations: 35.98 kB / 1.384 GB, free: 9.246 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003131/1.441, allocations: 1.375 MB / 1.385 GB, free: 7.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.783e-06/1.441, allocations: 0 / 1.385 GB, free: 7.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005937/1.447, allocations: 1.381 MB / 1.386 GB, free: 6.473 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008306/1.456, allocations: 1.289 MB / 1.388 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004673/1.46, allocations: 1.701 MB / 1.389 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.46, allocations: 0 / 1.389 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.462, allocations: 0.6462 MB / 1.39 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/1.467, allocations: 0.9526 MB / 1.391 GB, free: 2.184 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/1.475, allocations: 3.731 MB / 1.394 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.477, allocations: 1.505 MB / 1.396 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00231/1.479, allocations: 405.2 kB / 1.396 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/1.48, allocations: 167.4 kB / 1.396 GB, free: 12.29 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.48, allocations: 0 / 1.396 GB, free: 12.29 MB / 1.061 GB Notification: Performance of Templates: time 0.112/1.592, allocations: 70.11 MB / 1.465 GB, free: 6.91 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)