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.764/1.764, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001198/0.001198, allocations: 181.3 kB / 371.6 MB, free: 3.402 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.93/1.93, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009872/0.0009872, allocations: 88.67 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.965e-05/4.969e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3421, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.719/8.061, allocations: 2.377 GB / 3.357 GB, free: 221.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/8.062, allocations: 88.8 kB / 3.357 GB, free: 221.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.139/14.2, allocations: 1.327 GB / 4.684 GB, free: 97.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.275e-06/14.2, allocations: 0 / 4.684 GB, free: 97.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007311/14.2, allocations: 97.31 kB / 4.684 GB, free: 97.63 MB / 0.9636 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.01357/14.21, allocations: 3.382 MB / 4.687 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/14.21, allocations: 10.72 kB / 4.687 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00147/14.22, allocations: 329.3 kB / 4.688 GB, free: 96.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008131/14.22, allocations: 1.134 MB / 4.689 GB, free: 96.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/14.24, allocations: 4.763 MB / 4.693 GB, free: 95.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/14.24, allocations: 187.1 kB / 4.694 GB, free: 95.81 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000874/14.24, allocations: 253 kB / 4.694 GB, free: 95.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/14.25, allocations: 3.062 MB / 4.697 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.25e-05/14.25, allocations: 6.25 kB / 4.697 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/14.25, allocations: 96.44 kB / 4.697 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/14.25, allocations: 105 kB / 4.697 GB, free: 95.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004378/14.25, allocations: 2.515 MB / 4.7 GB, free: 95.35 MB / 0.9636 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.02404/14.28, allocations: 13.26 MB / 4.713 GB, free: 90.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/14.28, allocations: 2.315 MB / 4.715 GB, free: 89.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/14.28, allocations: 0.9657 MB / 4.716 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/14.29, allocations: 4.386 MB / 4.72 GB, free: 88.19 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/14.29, allocations: 0.9742 MB / 4.721 GB, free: 88.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002268/14.29, allocations: 202.7 kB / 4.721 GB, free: 88.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=143): time 8.826e-06/14.29, allocations: 0 / 4.721 GB, free: 88.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=147): time 0.01076/14.3, allocations: 4.439 MB / 4.725 GB, free: 87.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/14.3, allocations: 117.1 kB / 4.726 GB, free: 86.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/14.31, allocations: 2.752 MB / 4.728 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006213/14.31, allocations: 72.06 kB / 4.728 GB, free: 86.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/14.31, allocations: 1.509 MB / 4.73 GB, free: 86.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/14.31, allocations: 0.512 MB / 4.73 GB, free: 85.86 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/14.31, allocations: 44 kB / 4.73 GB, free: 85.86 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001521/14.31, allocations: 390.1 kB / 4.731 GB, free: 85.56 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/14.31, allocations: 0.8857 MB / 4.732 GB, free: 85.55 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/14.32, allocations: 1.525 MB / 4.733 GB, free: 84.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/14.32, allocations: 1.163 MB / 4.734 GB, free: 84.79 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/14.32, allocations: 3.188 kB / 4.734 GB, free: 84.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006078/14.32, allocations: 2.99 MB / 4.737 GB, free: 84.54 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/14.33, allocations: 7.164 MB / 4.744 GB, free: 77.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/14.33, allocations: 23.17 kB / 4.744 GB, free: 77.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/14.33, allocations: 431.2 kB / 4.745 GB, free: 77.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/14.33, allocations: 494 kB / 4.745 GB, free: 77.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/14.33, allocations: 2.631 MB / 4.748 GB, free: 75.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/14.34, allocations: 231.7 kB / 4.748 GB, free: 75.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/14.34, allocations: 111.4 kB / 4.748 GB, free: 75.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/14.34, allocations: 4.062 kB / 4.748 GB, free: 75.23 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005221/14.34, allocations: 2.681 MB / 4.751 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/14.34, allocations: 17.75 kB / 4.751 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/14.35, allocations: 456.3 kB / 4.751 GB, free: 75.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/14.35, allocations: 474.8 kB / 4.751 GB, free: 75.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/14.35, allocations: 2.639 MB / 4.754 GB, free: 73.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/14.36, allocations: 209 kB / 4.754 GB, free: 73.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/14.36, allocations: 106.8 kB / 4.754 GB, free: 73.28 MB / 0.9636 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.00097/14.36, allocations: 233.3 kB / 4.755 GB, free: 73.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/14.36, allocations: 310.2 kB / 4.755 GB, free: 73 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/14.36, allocations: 2.423 MB / 4.757 GB, free: 72.81 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/14.36, allocations: 27.16 kB / 4.757 GB, free: 72.81 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/14.36, allocations: 3.094 kB / 4.757 GB, free: 72.81 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002988/14.37, allocations: 2.074 MB / 4.759 GB, free: 72.38 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/14.38, allocations: 5.333 MB / 4.764 GB, free: 71.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/14.38, allocations: 3.219 kB / 4.764 GB, free: 71.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/14.38, allocations: 273.8 kB / 4.765 GB, free: 71.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/14.38, allocations: 325.8 kB / 4.765 GB, free: 71.79 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/14.38, allocations: 56.25 kB / 4.765 GB, free: 71.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005829/14.39, allocations: 8.964 MB / 4.774 GB, free: 64.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/14.39, allocations: 3.094 kB / 4.774 GB, free: 64.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/14.39, allocations: 3.492 MB / 4.777 GB, free: 63.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/14.39, allocations: 0.6671 MB / 4.778 GB, free: 63.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009931/14.4, allocations: 37.12 kB / 4.778 GB, free: 63.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/14.4, allocations: 148.4 kB / 4.778 GB, free: 63.33 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/14.4, allocations: 115.2 kB / 4.778 GB, free: 63.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/14.4, allocations: 75.73 kB / 4.778 GB, free: 63.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00385/14.4, allocations: 2.093 MB / 4.78 GB, free: 63.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.122e-06/14.4, allocations: 0 / 4.78 GB, free: 63.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01058/14.41, allocations: 1.794 MB / 4.782 GB, free: 63.07 MB / 0.9636 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.01061/14.42, allocations: 6.356 MB / 4.788 GB, free: 61.23 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009611/14.43, allocations: 4.014 MB / 4.792 GB, free: 60.87 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/14.43, allocations: 1.594 kB / 4.792 GB, free: 60.87 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/14.44, allocations: 1.676 MB / 4.794 GB, free: 60.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/14.45, allocations: 1.682 MB / 4.795 GB, free: 60.17 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/14.47, allocations: 6.485 MB / 4.802 GB, free: 58.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/14.47, allocations: 2.45 MB / 4.804 GB, free: 58.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008037/14.48, allocations: 1.821 MB / 4.806 GB, free: 58.01 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002946/14.48, allocations: 1.306 MB / 4.807 GB, free: 58 MB / 0.9636 GB Notification: Performance of SimCode: time 2.555e-06/14.48, allocations: 0 / 4.807 GB, free: 58 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/14.72, allocations: 124 MB / 4.928 GB, free: 51.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/14.72, allocations: 212.3 kB / 4.929 GB, free: 51.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/22.08, allocations: 3.938 kB / 4.929 GB, free: 51.5 MB / 0.9636 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)