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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007538/0.0007539, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008294/0.0008295, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005004, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6727, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2738/0.9466, allocations: 148 MB / 0.8726 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00567/0.9523, allocations: 3.1 MB / 0.8757 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007914/0.9532, allocations: 11.94 kB / 0.8757 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.9541, allocations: 207 kB / 0.8759 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.9563, allocations: 0.6362 MB / 0.8765 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.9574, allocations: 317.8 kB / 0.8768 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.9591, allocations: 1.228 MB / 0.878 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.9595, allocations: 268.3 kB / 0.8783 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.9601, allocations: 358.4 kB / 0.8786 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.9607, allocations: 322.7 kB / 0.8789 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.9607, allocations: 16 kB / 0.8789 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.9618, allocations: 343.2 kB / 0.8793 GB, free: 176 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.962, allocations: 143.5 kB / 0.8794 GB, free: 32 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.9622, allocations: 121.5 kB / 0.8795 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.9631, allocations: 0.6546 MB / 0.8801 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9631, allocations: 0 / 0.8801 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9631, allocations: 0 / 0.8801 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.9631, allocations: 0 / 0.8801 GB, free: 15.25 MB / 0.7012 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.00171/0.9648, allocations: 0.767 MB / 0.8809 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001613/0.965, allocations: 8.031 kB / 0.8809 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.966, allocations: 155.2 kB / 0.8811 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.9667, allocations: 473.3 kB / 0.8815 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.9668, allocations: 20.66 kB / 0.8815 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.9669, allocations: 31.98 kB / 0.8816 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.9675, allocations: 324.8 kB / 0.8819 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.9675, allocations: 7.984 kB / 0.8819 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.9675, allocations: 19.98 kB / 0.8819 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.9676, allocations: 8.562 kB / 0.8819 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.968, allocations: 214.1 kB / 0.8821 GB, free: 13.14 MB / 0.7012 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.001917/0.9699, allocations: 1.434 MB / 0.8835 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.9703, allocations: 210.9 kB / 0.8837 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.9705, allocations: 108.8 kB / 0.8838 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.9705, allocations: 8 kB / 0.8838 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.9708, allocations: 164.3 kB / 0.884 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=26): time 2.315e-06/0.9709, allocations: 0 / 0.884 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30): time 0.00281/0.9737, allocations: 1.148 MB / 0.8851 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.9737, allocations: 59.41 kB / 0.8851 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.9743, allocations: 453.8 kB / 0.8856 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.9744, allocations: 33.7 kB / 0.8856 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.9746, allocations: 232.2 kB / 0.8858 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.9747, allocations: 106.5 kB / 0.8859 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.9748, allocations: 12 kB / 0.8859 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.975, allocations: 350.8 kB / 0.8863 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.9752, allocations: 132.8 kB / 0.8864 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.9755, allocations: 194.1 kB / 0.8866 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.9757, allocations: 151.9 kB / 0.8867 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9757, allocations: 4 kB / 0.8867 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009098/0.9767, allocations: 493.1 kB / 0.8872 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9767, allocations: 11.94 kB / 0.8872 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9767, allocations: 0 / 0.8872 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/0.977, allocations: 84.95 kB / 0.8873 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.9773, allocations: 63.91 kB / 0.8874 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.9792, allocations: 1.756 MB / 0.8891 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.9796, allocations: 28.05 kB / 0.8891 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.9796, allocations: 8 kB / 0.8891 GB, free: 5.539 MB / 0.7012 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.0002445/0.9798, allocations: 197.7 kB / 0.8893 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.9799, allocations: 51.39 kB / 0.8894 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.98, allocations: 52.58 kB / 0.8894 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.98, allocations: 4 kB / 0.8894 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9801, allocations: 3.938 kB / 0.8894 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9801, allocations: 7.984 kB / 0.8894 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.9818, allocations: 1.016 MB / 0.8904 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9818, allocations: 4.031 kB / 0.8904 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.9822, allocations: 67.95 kB / 0.8905 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.9825, allocations: 84.75 kB / 0.8906 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.9825, allocations: 8 kB / 0.8906 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.984, allocations: 1.55 MB / 0.8921 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.984, allocations: 7.969 kB / 0.8921 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.985, allocations: 0.5714 MB / 0.8926 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.9852, allocations: 156.6 kB / 0.8928 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.9853, allocations: 11.98 kB / 0.8928 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.9856, allocations: 34.39 kB / 0.8928 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.9857, allocations: 23.97 kB / 0.8929 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.9857, allocations: 16 kB / 0.8929 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000392/0.9861, allocations: 299.1 kB / 0.8932 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9861, allocations: 0 / 0.8932 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005458/0.9867, allocations: 124 kB / 0.8933 GB, free: 1.02 MB / 0.7012 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.001188/0.9879, allocations: 442 kB / 0.8937 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007827/0.9887, allocations: 426.5 kB / 0.8941 GB, free: 320 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9887, allocations: 0 / 0.8941 GB, free: 320 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.989, allocations: 250.9 kB / 0.8944 GB, free: 56 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.9901, allocations: 219.5 kB / 0.8946 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.9919, allocations: 1.278 MB / 0.8958 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.9924, allocations: 0.8541 MB / 0.8966 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.9927, allocations: 92.31 kB / 0.8967 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.9928, allocations: 35.44 kB / 0.8968 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of SimCode: time 1.774e-06/0.9928, allocations: 0 / 0.8968 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of Templates: time 0.01472/1.008, allocations: 8.353 MB / 0.9049 GB, free: 5.301 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: