Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.547/0.547, allocations: 95.61 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 180.8 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.502/1.502, allocations: 170.7 MB / 328.4 MB, free: 12.24 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 112.4 kB / 390.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 61.51 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.77/14.91, allocations: 5.295 GB / 5.807 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/14.91, allocations: 84.83 kB / 5.807 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6544/15.56, allocations: 142.5 MB / 5.947 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/15.56, allocations: 0 / 5.947 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.826e-05/15.56, allocations: 12 kB / 5.947 GB, free: 79.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001492/15.57, allocations: 0.817 MB / 5.947 GB, free: 78.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/15.57, allocations: 15.98 kB / 5.947 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/15.57, allocations: 51.44 kB / 5.947 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/15.57, allocations: 0.5365 MB / 5.948 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/15.57, allocations: 16.56 kB / 5.948 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/15.57, allocations: 32 kB / 5.948 GB, free: 77.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/15.57, allocations: 264.8 kB / 5.948 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/15.57, allocations: 0 / 5.948 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/15.57, allocations: 12 kB / 5.948 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/15.57, allocations: 12 kB / 5.948 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/15.57, allocations: 254.1 kB / 5.949 GB, free: 77.24 MB / 0.5261 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.001516/15.57, allocations: 1.024 MB / 5.95 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/15.57, allocations: 239.3 kB / 5.95 GB, free: 75.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/15.57, allocations: 93.31 kB / 5.95 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/15.57, allocations: 188.7 kB / 5.95 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/15.57, allocations: 0 / 5.95 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.006096/15.58, allocations: 1.774 MB / 5.952 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/15.58, allocations: 55.41 kB / 5.952 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/15.58, allocations: 368.8 kB / 5.952 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/15.58, allocations: 41.7 kB / 5.952 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/15.58, allocations: 200.6 kB / 5.952 GB, free: 73.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/15.58, allocations: 130.2 kB / 5.953 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/15.58, allocations: 4 kB / 5.953 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/15.58, allocations: 354.8 kB / 5.953 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/15.58, allocations: 140.2 kB / 5.953 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/15.58, allocations: 200.6 kB / 5.953 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/15.58, allocations: 198.9 kB / 5.953 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/15.58, allocations: 0 / 5.953 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009138/15.58, allocations: 0.5307 MB / 5.954 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/15.58, allocations: 38.66 kB / 5.954 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/15.58, allocations: 4 kB / 5.954 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/15.58, allocations: 80.75 kB / 5.954 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/15.58, allocations: 75.91 kB / 5.954 GB, free: 71.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/15.58, allocations: 1.772 MB / 5.956 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/15.58, allocations: 35.98 kB / 5.956 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/15.58, allocations: 19.94 kB / 5.956 GB, free: 69.34 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003314/15.58, allocations: 225.9 kB / 5.956 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/15.58, allocations: 39.53 kB / 5.956 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/15.58, allocations: 0.508 MB / 5.957 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/15.58, allocations: 4 kB / 5.957 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/15.58, allocations: 11.95 kB / 5.957 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/15.58, allocations: 0 / 5.957 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/15.59, allocations: 1.168 MB / 5.958 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/15.59, allocations: 0 / 5.958 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/15.59, allocations: 75.89 kB / 5.958 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/15.59, allocations: 76.73 kB / 5.958 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/15.59, allocations: 11.98 kB / 5.958 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/15.59, allocations: 1.578 MB / 5.96 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/15.59, allocations: 0 / 5.96 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/15.59, allocations: 0.7446 MB / 5.96 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/15.59, allocations: 176.5 kB / 5.96 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/15.59, allocations: 15.94 kB / 5.96 GB, free: 64.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/15.59, allocations: 15.98 kB / 5.96 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/15.59, allocations: 23.97 kB / 5.96 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/15.59, allocations: 19.98 kB / 5.96 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003353/15.59, allocations: 303.1 kB / 5.961 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/15.59, allocations: 4 kB / 5.961 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001375/15.59, allocations: 295.8 kB / 5.961 GB, free: 63.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 2 ($whenCondition1,timTab.nextTimeEvent) * Number of discrete states: 1 (timTab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00232/15.59, allocations: 1.068 MB / 5.962 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001096/15.59, allocations: 0.5495 MB / 5.963 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/15.59, allocations: 4 kB / 5.963 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/15.59, allocations: 298.4 kB / 5.963 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/15.6, allocations: 225.4 kB / 5.963 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/15.6, allocations: 1.302 MB / 5.964 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/15.6, allocations: 0.8402 MB / 5.965 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004051/15.6, allocations: 92.14 kB / 5.965 GB, free: 59.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/15.6, allocations: 47.44 kB / 5.965 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/15.6, allocations: 0 / 5.965 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.02881/15.63, allocations: 19.9 MB / 5.985 GB, free: 39.45 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)