Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.848/2.848, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001632/0.001631, allocations: 175 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 93.86 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 11.17 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2238, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.327, allocations: 2.376 GB / 3.354 GB, free: 249.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/8.327, allocations: 87.12 kB / 3.354 GB, free: 249.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.608/14.94, allocations: 1.33 GB / 4.685 GB, free: 14.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.995e-06/14.94, allocations: 3.938 kB / 4.685 GB, free: 14.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007603/14.94, allocations: 90.06 kB / 4.685 GB, free: 14.79 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.01833/14.96, allocations: 4.204 MB / 4.689 GB, free: 10.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/14.96, allocations: 12.03 kB / 4.689 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/14.96, allocations: 328.9 kB / 4.689 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/14.97, allocations: 1.143 MB / 4.69 GB, free: 9.027 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/14.99, allocations: 4.795 MB / 4.695 GB, free: 4.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/14.99, allocations: 184.5 kB / 4.695 GB, free: 3.977 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/14.99, allocations: 251.9 kB / 4.696 GB, free: 3.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009392/15, allocations: 3.12 MB / 4.699 GB, free: 452 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/15, allocations: 7.906 kB / 4.699 GB, free: 444 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004814/15, allocations: 96 kB / 4.699 GB, free: 348 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/15, allocations: 104.3 kB / 4.699 GB, free: 240 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7788/15.78, allocations: 2.577 MB / 4.701 GB, free: 112.4 MB / 0.948 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.03699/15.81, allocations: 13.25 MB / 4.714 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/15.82, allocations: 2.365 MB / 4.717 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01784/15.84, allocations: 4.379 MB / 4.721 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004241/15.84, allocations: 0.9956 MB / 4.722 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003043/15.85, allocations: 198.5 kB / 4.722 GB, free: 105.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 1.382e-05/15.85, allocations: 0.6562 kB / 4.722 GB, free: 105.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.02523/15.87, allocations: 5.744 MB / 4.728 GB, free: 103.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/15.87, allocations: 121.2 kB / 4.728 GB, free: 103.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008432/15.88, allocations: 2.778 MB / 4.73 GB, free: 103.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000738/15.88, allocations: 68.2 kB / 4.73 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/15.88, allocations: 1.508 MB / 4.732 GB, free: 103.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/15.88, allocations: 0.5154 MB / 4.732 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/15.88, allocations: 46.25 kB / 4.732 GB, free: 102.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002168/15.89, allocations: 392.1 kB / 4.733 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/15.89, allocations: 0.9273 MB / 4.734 GB, free: 102.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/15.89, allocations: 1.566 MB / 4.735 GB, free: 101.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/15.9, allocations: 1.201 MB / 4.736 GB, free: 101.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/15.9, allocations: 3.625 kB / 4.736 GB, free: 101.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01245/15.91, allocations: 3.071 MB / 4.739 GB, free: 101.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001927/15.91, allocations: 7.162 MB / 4.746 GB, free: 94.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/15.91, allocations: 18.81 kB / 4.746 GB, free: 94.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/15.92, allocations: 465 kB / 4.747 GB, free: 94.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/15.92, allocations: 0.4894 MB / 4.747 GB, free: 94.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/15.93, allocations: 2.73 MB / 4.75 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/15.93, allocations: 229.8 kB / 4.75 GB, free: 92.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007571/15.93, allocations: 112.5 kB / 4.75 GB, free: 92.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/15.93, allocations: 3.875 kB / 4.75 GB, free: 92.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008935/15.94, allocations: 2.757 MB / 4.753 GB, free: 92.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.416e-05/15.94, allocations: 25.88 kB / 4.753 GB, free: 92.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/15.95, allocations: 482 kB / 4.754 GB, free: 92.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/15.95, allocations: 475.1 kB / 4.754 GB, free: 92.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/15.96, allocations: 2.743 MB / 4.757 GB, free: 90.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/15.96, allocations: 203.9 kB / 4.757 GB, free: 90.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007444/15.96, allocations: 107.8 kB / 4.757 GB, free: 90.38 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 () * 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.003677/15.97, allocations: 1.095 MB / 4.758 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/15.97, allocations: 310.2 kB / 4.758 GB, free: 90.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/15.98, allocations: 2.463 MB / 4.761 GB, free: 89.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/15.98, allocations: 18.03 kB / 4.761 GB, free: 89.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/15.98, allocations: 5.188 kB / 4.761 GB, free: 89.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006783/15.98, allocations: 2.121 MB / 4.763 GB, free: 89.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/16, allocations: 5.376 MB / 4.768 GB, free: 88.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/16, allocations: 1.344 kB / 4.768 GB, free: 88.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/16.01, allocations: 285.8 kB / 4.768 GB, free: 88.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/16.01, allocations: 292.1 kB / 4.769 GB, free: 88.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/16.01, allocations: 54.58 kB / 4.769 GB, free: 88.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008746/16.02, allocations: 8.871 MB / 4.777 GB, free: 81.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/16.02, allocations: 1.406 kB / 4.777 GB, free: 81.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/16.03, allocations: 3.551 MB / 4.781 GB, free: 80.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/16.03, allocations: 0.6647 MB / 4.782 GB, free: 80.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/16.03, allocations: 45.7 kB / 4.782 GB, free: 80.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/16.04, allocations: 144.1 kB / 4.782 GB, free: 80.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/16.04, allocations: 114.8 kB / 4.782 GB, free: 80.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/16.04, allocations: 74.17 kB / 4.782 GB, free: 80.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005927/16.04, allocations: 2.125 MB / 4.784 GB, free: 80.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.773e-06/16.04, allocations: 0 / 4.784 GB, free: 80.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00988/16.05, allocations: 1.797 MB / 4.786 GB, free: 80.3 MB / 0.948 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 (149): * Single equations (assignments): 135 * 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%) 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.015/16.07, allocations: 6.456 MB / 4.792 GB, free: 78.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01449/16.08, allocations: 4.049 MB / 4.796 GB, free: 78.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/16.08, allocations: 0.5625 kB / 4.796 GB, free: 78.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003805/16.09, allocations: 1.689 MB / 4.798 GB, free: 77.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/16.1, allocations: 1.687 MB / 4.799 GB, free: 77.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/16.13, allocations: 21.04 MB / 4.82 GB, free: 62.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/16.13, allocations: 2.447 MB / 4.822 GB, free: 61.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007562/16.14, allocations: 1.163 MB / 4.823 GB, free: 61.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003721/16.14, allocations: 1.34 MB / 4.825 GB, free: 61.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/16.14, allocations: 0 / 4.825 GB, free: 61.49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/16.39, allocations: 115.7 MB / 4.938 GB, free: 55.74 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/16.39, allocations: 239.9 kB / 4.938 GB, free: 55.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/23.91, allocations: 0 / 4.938 GB, free: 55.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)