Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 252 MB / 267.9 MB, free: 10.92 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.001033/0.001033, allocations: 169.9 kB / 327.5 MB, free: 2.168 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.519/1.519, allocations: 205.4 MB / 0.5785 GB, free: 20.45 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.0007765/0.0007765, allocations: 96.47 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 15.03 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.69/4.854, allocations: 2.493 GB / 3.394 GB, free: 59.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/4.854, allocations: 91.95 kB / 3.394 GB, free: 59.37 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.473/9.327, allocations: 1.292 GB / 4.686 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.222e-06/9.327, allocations: 0 / 4.686 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006406/9.328, allocations: 103.7 kB / 4.686 GB, free: 134.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01355/9.341, allocations: 4.141 MB / 4.69 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/9.341, allocations: 8.031 kB / 4.69 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/9.348, allocations: 1.14 MB / 4.691 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/9.36, allocations: 4.617 MB / 4.696 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/9.36, allocations: 192.5 kB / 4.696 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/9.361, allocations: 255.8 kB / 4.696 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00575/9.367, allocations: 3.096 MB / 4.699 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/9.367, allocations: 7.938 kB / 4.699 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/9.367, allocations: 96 kB / 4.699 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/9.367, allocations: 104.4 kB / 4.699 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/9.371, allocations: 2.558 MB / 4.702 GB, free: 117.8 MB / 0.8855 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.01915/9.39, allocations: 13.04 MB / 4.715 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/9.393, allocations: 2.314 MB / 4.717 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/9.395, allocations: 0.9842 MB / 4.718 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008163/9.403, allocations: 4.217 MB / 4.722 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/9.404, allocations: 0.9773 MB / 4.723 GB, free: 95.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/9.406, allocations: 182.3 kB / 4.723 GB, free: 95.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 4.638e-06/9.406, allocations: 0 / 4.723 GB, free: 95.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01062/9.416, allocations: 5.963 MB / 4.729 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/9.416, allocations: 120 kB / 4.729 GB, free: 88.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/9.42, allocations: 2.905 MB / 4.732 GB, free: 85.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/9.42, allocations: 69.69 kB / 4.732 GB, free: 85.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/9.421, allocations: 1.51 MB / 4.733 GB, free: 84.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/9.422, allocations: 0.5122 MB / 4.734 GB, free: 83.71 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/9.422, allocations: 40 kB / 4.734 GB, free: 83.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001334/9.422, allocations: 398.2 kB / 4.734 GB, free: 83.28 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/9.424, allocations: 0.9137 MB / 4.735 GB, free: 82.36 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/9.425, allocations: 1.566 MB / 4.737 GB, free: 80.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/9.428, allocations: 2.424 MB / 4.739 GB, free: 77.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/9.428, allocations: 4 kB / 4.739 GB, free: 77.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005653/9.434, allocations: 3.046 MB / 4.742 GB, free: 74.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002987/9.434, allocations: 0.5934 MB / 4.743 GB, free: 73.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/9.434, allocations: 20 kB / 4.743 GB, free: 73.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/9.436, allocations: 453.1 kB / 4.743 GB, free: 73.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/9.438, allocations: 471.2 kB / 4.744 GB, free: 73.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/9.441, allocations: 2.71 MB / 4.746 GB, free: 70.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/9.444, allocations: 219.3 kB / 4.746 GB, free: 69.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/9.445, allocations: 112 kB / 4.747 GB, free: 69.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/9.445, allocations: 6.188 kB / 4.747 GB, free: 69.85 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004436/9.449, allocations: 2.738 MB / 4.749 GB, free: 67.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/9.449, allocations: 16 kB / 4.749 GB, free: 67.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/9.451, allocations: 477.1 kB / 4.75 GB, free: 66.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/9.452, allocations: 447.3 kB / 4.75 GB, free: 66.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/9.455, allocations: 2.726 MB / 4.753 GB, free: 63.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/9.458, allocations: 199.5 kB / 4.753 GB, free: 63.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/9.459, allocations: 104 kB / 4.753 GB, free: 63 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.002333/9.461, allocations: 1.097 MB / 4.754 GB, free: 61.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007172/9.462, allocations: 304.2 kB / 4.754 GB, free: 61.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/9.466, allocations: 2.803 MB / 4.757 GB, free: 58.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/9.466, allocations: 20 kB / 4.757 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/9.466, allocations: 4 kB / 4.757 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002797/9.469, allocations: 2.453 MB / 4.76 GB, free: 56.02 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.008879/9.477, allocations: 5.591 MB / 4.765 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/9.477, allocations: 0 / 4.765 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/9.479, allocations: 307.7 kB / 4.765 GB, free: 49.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/9.479, allocations: 200.9 kB / 4.766 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/9.479, allocations: 47.97 kB / 4.766 GB, free: 49.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/9.484, allocations: 8.272 MB / 4.774 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/9.484, allocations: 4.031 kB / 4.774 GB, free: 40.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/9.489, allocations: 3.759 MB / 4.777 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/9.491, allocations: 0.6181 MB / 4.778 GB, free: 36.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/9.492, allocations: 39.98 kB / 4.778 GB, free: 36.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/9.495, allocations: 127.7 kB / 4.778 GB, free: 35.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/9.495, allocations: 121.1 kB / 4.778 GB, free: 35.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/9.495, allocations: 67.95 kB / 4.778 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003162/9.499, allocations: 1.947 MB / 4.78 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/9.499, allocations: 0 / 4.78 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006642/9.505, allocations: 1.729 MB / 4.782 GB, free: 32.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004268/9.509, allocations: 2.173 MB / 4.784 GB, free: 30.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008165/9.518, allocations: 4.006 MB / 4.788 GB, free: 26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/9.518, allocations: 4.5 kB / 4.788 GB, free: 26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/9.52, allocations: 1.636 MB / 4.79 GB, free: 24.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008316/9.528, allocations: 1.651 MB / 4.791 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/9.539, allocations: 7.824 MB / 4.799 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/9.54, allocations: 2.381 MB / 4.801 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004515/9.545, allocations: 1.158 MB / 4.802 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/9.545, allocations: 251.3 kB / 4.802 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of SimCode: time 7.71e-07/9.545, allocations: 0 / 4.802 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.6635/10.21, allocations: 81.77 MB / 4.882 GB, free: 145.1 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)