Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 186.4 kB / 327.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006924/0.0006925, allocations: 95.62 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 9.969 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1392/0.31, allocations: 148 MB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.3147, allocations: 3.089 MB / 1.048 GB, free: 8.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.3153, allocations: 19.88 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.316, allocations: 202.9 kB / 1.049 GB, free: 8.121 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.3176, allocations: 0.6376 MB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.3185, allocations: 324.1 kB / 1.05 GB, free: 7.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3198, allocations: 1.231 MB / 1.051 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.3202, allocations: 240.3 kB / 1.051 GB, free: 5.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.3207, allocations: 362.4 kB / 1.051 GB, free: 5.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.3212, allocations: 334.6 kB / 1.052 GB, free: 5.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.3213, allocations: 19.98 kB / 1.052 GB, free: 4.992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.3221, allocations: 339.2 kB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3223, allocations: 143.5 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3224, allocations: 133.4 kB / 1.052 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.3231, allocations: 0.6471 MB / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3231, allocations: 0 / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3231, allocations: 0 / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3231, allocations: 0 / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001196/0.3243, allocations: 0.7709 MB / 1.054 GB, free: 2.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3243, allocations: 8.031 kB / 1.054 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009396/0.3253, allocations: 155.2 kB / 1.054 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.3261, allocations: 469.3 kB / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.3261, allocations: 20.66 kB / 1.054 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.3262, allocations: 32 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.3268, allocations: 328.9 kB / 1.055 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3268, allocations: 0 / 1.055 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.3269, allocations: 15.94 kB / 1.055 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.3269, allocations: 8.562 kB / 1.055 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.3273, allocations: 218.1 kB / 1.055 GB, free: 1.633 MB / 0.698 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.002034/0.3294, allocations: 1.426 MB / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3245/0.6539, allocations: 216.6 kB / 1.056 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.6541, allocations: 106.3 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.6542, allocations: 4.469 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.6545, allocations: 166.1 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.6545, allocations: 0 / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.003182/0.6577, allocations: 1.143 MB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.6578, allocations: 59.31 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.6583, allocations: 455.6 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.6584, allocations: 36.77 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.6585, allocations: 232.6 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.6586, allocations: 104.2 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.6586, allocations: 10.06 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.6587, allocations: 355.7 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.6589, allocations: 129.3 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.6591, allocations: 190.8 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.6594, allocations: 166.5 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6594, allocations: 7.438 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009256/0.6604, allocations: 479.4 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6604, allocations: 5.906 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6604, allocations: 3 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.6608, allocations: 80.86 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.6611, allocations: 66.62 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.6625, allocations: 1.743 MB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.6629, allocations: 37.3 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.663, allocations: 17.17 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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.000237/0.6632, allocations: 196.8 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.6633, allocations: 41.25 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.675e-05/0.6634, allocations: 55.61 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6634, allocations: 5.375 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6634, allocations: 3.219 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6634, allocations: 0 / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.665, allocations: 1.024 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.665, allocations: 0 / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.6654, allocations: 70.97 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/0.6658, allocations: 74.84 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.6658, allocations: 8.453 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.667, allocations: 1.559 MB / 1.065 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.667, allocations: 4.281 kB / 1.065 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.668, allocations: 0.577 MB / 1.065 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.6683, allocations: 161.3 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6684, allocations: 7.891 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.6688, allocations: 27.08 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.6689, allocations: 24.19 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.6689, allocations: 12.39 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004/0.6694, allocations: 302.7 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6694, allocations: 1.938 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006016/0.67, allocations: 124.2 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009666/0.6709, allocations: 438 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.6717, allocations: 433.8 kB / 1.067 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6717, allocations: 0 / 1.067 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.672, allocations: 255.4 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6732, allocations: 228.6 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.6751, allocations: 1.325 MB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.6755, allocations: 0.8545 MB / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.6756, allocations: 41.55 kB / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.6756, allocations: 5.188 kB / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0177/0.6933, allocations: 9.163 MB / 1.078 GB, free: 147.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)