Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001445/0.001444, allocations: 189 kB / 371.8 MB, free: 10.25 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.156/2.156, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0008861/0.0008859, allocations: 85.17 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 19.19 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.439/7.698, allocations: 2.376 GB / 3.356 GB, free: 312.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004332/7.698, allocations: 87.25 kB / 3.356 GB, free: 312.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.511/13.21, allocations: 1.33 GB / 4.686 GB, free: 62.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.236e-06/13.21, allocations: 0 / 4.686 GB, free: 62.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008343/13.21, allocations: 89.62 kB / 4.686 GB, free: 62.35 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.01707/13.23, allocations: 4.198 MB / 4.69 GB, free: 58.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/13.23, allocations: 12.03 kB / 4.69 GB, free: 58.09 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001923/13.23, allocations: 336.9 kB / 4.691 GB, free: 57.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008268/13.24, allocations: 1.139 MB / 4.692 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/13.25, allocations: 4.789 MB / 4.696 GB, free: 51.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/13.25, allocations: 192.5 kB / 4.697 GB, free: 51.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/13.26, allocations: 255.9 kB / 4.697 GB, free: 51.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009352/13.26, allocations: 3.118 MB / 4.7 GB, free: 48.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/13.27, allocations: 4 kB / 4.7 GB, free: 48.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008435/13.27, allocations: 96 kB / 4.7 GB, free: 47.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/13.27, allocations: 108.3 kB / 4.7 GB, free: 47.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/13.27, allocations: 2.586 MB / 4.703 GB, free: 45.22 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.02767/13.3, allocations: 13.25 MB / 4.716 GB, free: 31.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/13.3, allocations: 2.36 MB / 4.718 GB, free: 28.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/13.32, allocations: 4.381 MB / 4.722 GB, free: 24.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/13.32, allocations: 0.9954 MB / 4.723 GB, free: 23.27 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002384/13.32, allocations: 202.1 kB / 4.723 GB, free: 23.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 1.158e-05/13.32, allocations: 3.938 kB / 4.723 GB, free: 23.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01476/13.33, allocations: 5.741 MB / 4.729 GB, free: 17.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/13.34, allocations: 120.1 kB / 4.729 GB, free: 17.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/13.34, allocations: 2.78 MB / 4.732 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007005/13.34, allocations: 61.7 kB / 4.732 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/13.34, allocations: 1.51 MB / 4.733 GB, free: 12.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009194/13.35, allocations: 0.5083 MB / 4.734 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/13.35, allocations: 46.62 kB / 4.734 GB, free: 12.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000221/13.35, allocations: 394.2 kB / 4.734 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/13.35, allocations: 0.9294 MB / 4.735 GB, free: 10.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/13.35, allocations: 1.57 MB / 4.737 GB, free: 8.898 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/13.35, allocations: 1.188 MB / 4.738 GB, free: 7.715 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/13.35, allocations: 4 kB / 4.738 GB, free: 7.711 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.008073/13.36, allocations: 3.081 MB / 4.741 GB, free: 4.613 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003169/13.37, allocations: 7.16 MB / 4.748 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/13.37, allocations: 23.98 kB / 4.748 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/13.37, allocations: 469.1 kB / 4.748 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/13.37, allocations: 489.9 kB / 4.749 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/13.38, allocations: 2.73 MB / 4.751 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/13.38, allocations: 231.4 kB / 4.752 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/13.38, allocations: 119 kB / 4.752 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/13.38, allocations: 4 kB / 4.752 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/13.39, allocations: 2.758 MB / 4.754 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/13.39, allocations: 20 kB / 4.754 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/13.4, allocations: 478.1 kB / 4.755 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/13.4, allocations: 483.2 kB / 4.755 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/13.41, allocations: 2.737 MB / 4.758 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/13.41, allocations: 207.4 kB / 4.758 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/13.41, allocations: 108 kB / 4.758 GB, free: 1.84 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 () * 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.003692/13.41, allocations: 1.094 MB / 4.759 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/13.42, allocations: 308.2 kB / 4.76 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7807/14.2, allocations: 2.461 MB / 4.762 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/14.2, allocations: 18.16 kB / 4.762 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/14.2, allocations: 7.734 kB / 4.762 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/14.2, allocations: 2.119 MB / 4.764 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/14.21, allocations: 5.365 MB / 4.769 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/14.21, allocations: 4.594 kB / 4.769 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/14.22, allocations: 286.7 kB / 4.77 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/14.22, allocations: 296.2 kB / 4.77 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/14.22, allocations: 46.53 kB / 4.77 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006599/14.22, allocations: 8.877 MB / 4.779 GB, free: 122 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/14.22, allocations: 7.234 kB / 4.779 GB, free: 122 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007885/14.23, allocations: 3.539 MB / 4.782 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/14.23, allocations: 0.666 MB / 4.783 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/14.24, allocations: 42.16 kB / 4.783 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/14.24, allocations: 138.6 kB / 4.783 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/14.24, allocations: 118.3 kB / 4.783 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/14.24, allocations: 79.97 kB / 4.783 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00511/14.24, allocations: 2.121 MB / 4.785 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.172e-06/14.24, allocations: 0 / 4.785 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009902/14.25, allocations: 1.789 MB / 4.787 GB, free: 121.3 MB / 0.9636 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.01258/14.27, allocations: 6.468 MB / 4.793 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01192/14.28, allocations: 4.05 MB / 4.797 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/14.28, allocations: 1.781 kB / 4.797 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/14.28, allocations: 1.697 MB / 4.799 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/14.29, allocations: 1.676 MB / 4.801 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/14.32, allocations: 21.05 MB / 4.821 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/14.32, allocations: 2.442 MB / 4.824 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005693/14.32, allocations: 1.171 MB / 4.825 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/14.33, allocations: 1.335 MB / 4.826 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.723e-06/14.33, allocations: 3.031 kB / 4.826 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/14.54, allocations: 115.7 MB / 4.939 GB, free: 97.31 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/14.54, allocations: 257.5 kB / 4.939 GB, free: 96.97 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/21.23, allocations: 0 / 4.939 GB, free: 96.97 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)