Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 289.9 MB / 297.4 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 93.2 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8706, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.782/7.653, allocations: 2.376 GB / 3.35 GB, free: 61.74 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/7.653, allocations: 85.8 kB / 3.35 GB, free: 61.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.329/12.98, allocations: 1.319 GB / 4.669 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.737e-06/12.98, allocations: 3.312 kB / 4.669 GB, free: 150.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008392/12.98, allocations: 96.34 kB / 4.669 GB, free: 150.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01455/13, allocations: 3.384 MB / 4.673 GB, free: 148.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/13, allocations: 10.88 kB / 4.673 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008178/13.01, allocations: 1.138 MB / 4.674 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/13.02, allocations: 4.751 MB / 4.678 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/13.02, allocations: 74.47 kB / 4.678 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/13.02, allocations: 149.7 kB / 4.679 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004599/13.03, allocations: 2.396 MB / 4.681 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005072/13.03, allocations: 2.736 MB / 4.684 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/13.03, allocations: 6.031 kB / 4.684 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/13.03, allocations: 11.62 kB / 4.684 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.21e-05/13.03, allocations: 111.2 kB / 4.684 GB, free: 147.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.02105/13.05, allocations: 12.83 MB / 4.696 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/13.06, allocations: 2.026 MB / 4.698 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/13.06, allocations: 1.058 MB / 4.699 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/13.07, allocations: 4.301 MB / 4.703 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/13.07, allocations: 0.9461 MB / 4.704 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001983/13.07, allocations: 143.8 kB / 4.704 GB, free: 140.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 8.086e-06/13.07, allocations: 4 kB / 4.704 GB, free: 140.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01419/13.09, allocations: 4.731 MB / 4.709 GB, free: 138 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/13.09, allocations: 119.7 kB / 4.709 GB, free: 137.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00653/13.09, allocations: 2.391 MB / 4.712 GB, free: 137 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006361/13.09, allocations: 31.45 kB / 4.712 GB, free: 136.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001737/13.1, allocations: 1.497 MB / 4.713 GB, free: 135.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/13.1, allocations: 0.4969 MB / 4.714 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/13.1, allocations: 0 / 4.714 GB, free: 135.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002132/13.1, allocations: 396.8 kB / 4.714 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/13.1, allocations: 0.9146 MB / 4.715 GB, free: 134.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/13.1, allocations: 1.541 MB / 4.716 GB, free: 133.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/13.1, allocations: 1.283 MB / 4.718 GB, free: 133.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/13.1, allocations: 6.906 kB / 4.718 GB, free: 133.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006612/13.11, allocations: 3.001 MB / 4.721 GB, free: 132 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001552/13.11, allocations: 7.077 MB / 4.727 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/13.11, allocations: 21.31 kB / 4.727 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/13.11, allocations: 413.2 kB / 4.728 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/13.12, allocations: 492.3 kB / 4.728 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/13.12, allocations: 2.62 MB / 4.731 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/13.12, allocations: 178.5 kB / 4.731 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/13.12, allocations: 120 kB / 4.731 GB, free: 122.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/13.12, allocations: 5.406 kB / 4.731 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005431/13.13, allocations: 2.551 MB / 4.734 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/13.13, allocations: 28.31 kB / 4.734 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/13.13, allocations: 424.1 kB / 4.734 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/13.13, allocations: 480 kB / 4.735 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/13.14, allocations: 2.626 MB / 4.737 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/13.14, allocations: 150.8 kB / 4.737 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/13.14, allocations: 112.8 kB / 4.737 GB, free: 118.9 MB / 0.948 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001043/13.14, allocations: 161.7 kB / 4.738 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005412/13.15, allocations: 2.018 MB / 4.739 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/13.15, allocations: 287.3 kB / 4.74 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/13.15, allocations: 2.369 MB / 4.742 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/13.15, allocations: 15.69 kB / 4.742 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/13.15, allocations: 3.062 kB / 4.742 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/13.16, allocations: 2.056 MB / 4.744 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/13.17, allocations: 5.037 MB / 4.749 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/13.17, allocations: 0 / 4.749 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/13.17, allocations: 270 kB / 4.749 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/13.17, allocations: 324.3 kB / 4.75 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/13.17, allocations: 31.78 kB / 4.75 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/13.17, allocations: 8.724 MB / 4.758 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/13.17, allocations: 0 / 4.758 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00597/13.18, allocations: 3.465 MB / 4.762 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/13.18, allocations: 0.6485 MB / 4.762 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/13.18, allocations: 19.89 kB / 4.762 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/13.19, allocations: 105.2 kB / 4.762 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/13.19, allocations: 112.2 kB / 4.762 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/13.19, allocations: 82.27 kB / 4.762 GB, free: 100.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00275/13.19, allocations: 1.776 MB / 4.764 GB, free: 99.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/13.19, allocations: 0 / 4.764 GB, free: 99.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007692/13.2, allocations: 1.695 MB / 4.766 GB, free: 97.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00977/13.21, allocations: 6.344 MB / 4.772 GB, free: 91.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007595/13.21, allocations: 3.913 MB / 4.776 GB, free: 88.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/13.21, allocations: 0.5625 kB / 4.776 GB, free: 88.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/13.22, allocations: 1.625 MB / 4.777 GB, free: 86.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008392/13.22, allocations: 1.456 MB / 4.779 GB, free: 85.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/13.24, allocations: 6.281 MB / 4.785 GB, free: 80.15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/13.24, allocations: 2.454 MB / 4.787 GB, free: 78.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006193/13.25, allocations: 1.674 MB / 4.789 GB, free: 77.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/13.25, allocations: 1.297 MB / 4.79 GB, free: 75.95 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/13.25, allocations: 0 / 4.79 GB, free: 75.95 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/13.42, allocations: 100.7 MB / 4.889 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/13.42, allocations: 154.6 kB / 4.889 GB, free: 8.145 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/19.85, allocations: 0 / 4.889 GB, free: 8.145 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)