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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001261/0.001261, allocations: 188.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001008/0.001008, allocations: 96.28 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 9.562 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2648, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.239, allocations: 2.493 GB / 3.393 GB, free: 59.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/7.239, allocations: 91.95 kB / 3.393 GB, free: 59.14 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.972/13.21, allocations: 1.3 GB / 4.693 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/13.21, allocations: 0 / 4.693 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001018/13.21, allocations: 98.64 kB / 4.693 GB, free: 126.6 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.01978/13.23, allocations: 4.175 MB / 4.697 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/13.23, allocations: 12.03 kB / 4.697 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002549/13.23, allocations: 344.9 kB / 4.698 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009237/13.24, allocations: 1.143 MB / 4.699 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/13.26, allocations: 4.772 MB / 4.703 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/13.26, allocations: 184.5 kB / 4.704 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/13.27, allocations: 255.8 kB / 4.704 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/13.28, allocations: 3.096 MB / 4.707 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/13.28, allocations: 11.84 kB / 4.707 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/13.28, allocations: 96 kB / 4.707 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/13.28, allocations: 104.4 kB / 4.707 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008502/13.29, allocations: 2.586 MB / 4.71 GB, free: 109.6 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.03137/13.32, allocations: 13.23 MB / 4.722 GB, free: 95.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/13.33, allocations: 2.363 MB / 4.725 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/13.34, allocations: 4.355 MB / 4.729 GB, free: 88.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/13.34, allocations: 0.9774 MB / 4.73 GB, free: 87.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002716/13.34, allocations: 194.2 kB / 4.73 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 8.566e-06/13.34, allocations: 0 / 4.73 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01461/13.36, allocations: 5.729 MB / 4.736 GB, free: 81.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/13.36, allocations: 116.1 kB / 4.736 GB, free: 81.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/13.36, allocations: 2.784 MB / 4.739 GB, free: 78.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/13.36, allocations: 65.7 kB / 4.739 GB, free: 78.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/13.37, allocations: 1.502 MB / 4.74 GB, free: 77.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006012/13.37, allocations: 0.5161 MB / 4.741 GB, free: 76.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/13.37, allocations: 44 kB / 4.741 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001985/13.37, allocations: 390.2 kB / 4.741 GB, free: 76.13 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/13.37, allocations: 0.9216 MB / 4.742 GB, free: 75.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/13.37, allocations: 1.569 MB / 4.743 GB, free: 73.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/13.37, allocations: 1.185 MB / 4.745 GB, free: 72.17 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/13.37, allocations: 4 kB / 4.745 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006652/13.38, allocations: 3.069 MB / 4.748 GB, free: 69.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002906/13.38, allocations: 7.165 MB / 4.755 GB, free: 61.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/13.38, allocations: 27.98 kB / 4.755 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/13.38, allocations: 468.5 kB / 4.755 GB, free: 60.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/13.39, allocations: 491.2 kB / 4.756 GB, free: 60.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/13.39, allocations: 2.729 MB / 4.758 GB, free: 57.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/13.4, allocations: 239.2 kB / 4.758 GB, free: 57.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006481/13.4, allocations: 108 kB / 4.759 GB, free: 57.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/13.4, allocations: 4 kB / 4.759 GB, free: 57.24 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007103/13.4, allocations: 2.75 MB / 4.761 GB, free: 54.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.226e-05/13.4, allocations: 24.89 kB / 4.761 GB, free: 54.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/13.41, allocations: 485.4 kB / 4.762 GB, free: 53.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/13.41, allocations: 483.3 kB / 4.762 GB, free: 53.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/13.41, allocations: 2.74 MB / 4.765 GB, free: 50.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/13.42, allocations: 195.6 kB / 4.765 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/13.42, allocations: 119.9 kB / 4.765 GB, free: 50.3 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.003944/13.42, allocations: 1.087 MB / 4.766 GB, free: 49.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001979/13.42, allocations: 308.2 kB / 4.767 GB, free: 48.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/13.43, allocations: 2.47 MB / 4.769 GB, free: 46.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/13.43, allocations: 16 kB / 4.769 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/13.43, allocations: 0 / 4.769 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/13.44, allocations: 2.116 MB / 4.771 GB, free: 44.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/13.45, allocations: 5.355 MB / 4.776 GB, free: 38.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/13.45, allocations: 0 / 4.776 GB, free: 38.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/13.45, allocations: 287.6 kB / 4.777 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/13.46, allocations: 293 kB / 4.777 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/13.46, allocations: 59.91 kB / 4.777 GB, free: 38.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00715/13.46, allocations: 8.872 MB / 4.786 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/13.46, allocations: 0 / 4.786 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008914/13.47, allocations: 3.542 MB / 4.789 GB, free: 24.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/13.48, allocations: 0.6571 MB / 4.79 GB, free: 24.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/13.48, allocations: 43.94 kB / 4.79 GB, free: 24.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004023/13.48, allocations: 143.7 kB / 4.79 GB, free: 23.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/13.48, allocations: 113.1 kB / 4.79 GB, free: 23.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/13.48, allocations: 75.94 kB / 4.79 GB, free: 23.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006544/13.49, allocations: 2.119 MB / 4.792 GB, free: 21.63 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/13.49, allocations: 4 kB / 4.792 GB, free: 21.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01413/13.5, allocations: 1.784 MB / 4.794 GB, free: 19.84 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 (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.01667/13.52, allocations: 6.441 MB / 4.8 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01113/13.53, allocations: 4.048 MB / 4.804 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/13.53, allocations: 448 / 4.804 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/13.53, allocations: 1.688 MB / 4.806 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/13.55, allocations: 1.682 MB / 4.807 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/13.58, allocations: 21.05 MB / 4.828 GB, free: 384 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6843/14.26, allocations: 2.442 MB / 4.83 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007239/14.27, allocations: 1.156 MB / 4.831 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004219/14.28, allocations: 1.336 MB / 4.833 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/14.28, allocations: 0 / 4.833 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/14.55, allocations: 115.2 MB / 4.945 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/14.55, allocations: 246.5 kB / 4.946 GB, free: 140 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/21.18, allocations: 0 / 4.946 GB, free: 140 MB / 0.9011 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)