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.465/1.465, allocations: 249.3 MB / 261.9 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001013/0.001013, allocations: 90.53 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.229e-05, allocations: 3.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.292, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.524/7.816, allocations: 2.493 GB / 3.385 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/7.816, allocations: 87.95 kB / 3.385 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.596/13.41, allocations: 1.296 GB / 4.681 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.456e-06/13.41, allocations: 0 / 4.681 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008389/13.41, allocations: 100.6 kB / 4.681 GB, free: 100.5 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.01276/13.43, allocations: 3.378 MB / 4.685 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/13.43, allocations: 7.469 kB / 4.685 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001608/13.43, allocations: 326.7 kB / 4.685 GB, free: 99.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008146/13.44, allocations: 1.139 MB / 4.686 GB, free: 99.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/13.45, allocations: 4.743 MB / 4.691 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/13.45, allocations: 183.2 kB / 4.691 GB, free: 98.45 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/13.45, allocations: 255.5 kB / 4.691 GB, free: 98.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009356/13.46, allocations: 3.036 MB / 4.694 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/13.46, allocations: 10.06 kB / 4.694 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008651/13.46, allocations: 106.9 kB / 4.694 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/13.46, allocations: 100.2 kB / 4.694 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005984/13.47, allocations: 2.513 MB / 4.697 GB, free: 97.99 MB / 0.8855 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.02344/13.49, allocations: 13.23 MB / 4.71 GB, free: 92.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/13.5, allocations: 2.313 MB / 4.712 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/13.5, allocations: 0.9554 MB / 4.713 GB, free: 92.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/13.51, allocations: 4.363 MB / 4.717 GB, free: 90.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/13.51, allocations: 0.9549 MB / 4.718 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002329/13.51, allocations: 194.6 kB / 4.718 GB, free: 90.54 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 7.755e-06/13.51, allocations: 0 / 4.718 GB, free: 90.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.0105/13.52, allocations: 4.437 MB / 4.723 GB, free: 89.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/13.52, allocations: 117.7 kB / 4.723 GB, free: 89.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/13.53, allocations: 2.747 MB / 4.725 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005342/13.53, allocations: 69.09 kB / 4.726 GB, free: 89.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/13.53, allocations: 1.511 MB / 4.727 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/13.53, allocations: 0.5106 MB / 4.728 GB, free: 88.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/13.53, allocations: 44.02 kB / 4.728 GB, free: 88.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001573/13.53, allocations: 390.8 kB / 4.728 GB, free: 88.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/13.53, allocations: 0.8913 MB / 4.729 GB, free: 88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/13.53, allocations: 1.52 MB / 4.73 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/13.54, allocations: 1.153 MB / 4.731 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/13.54, allocations: 7.188 kB / 4.731 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005808/13.54, allocations: 2.977 MB / 4.734 GB, free: 86.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001849/13.54, allocations: 7.167 MB / 4.741 GB, free: 79.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/13.54, allocations: 20.38 kB / 4.741 GB, free: 79.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/13.55, allocations: 442.9 kB / 4.742 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/13.55, allocations: 495.8 kB / 4.742 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/13.55, allocations: 2.632 MB / 4.745 GB, free: 77.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/13.56, allocations: 224.7 kB / 4.745 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/13.56, allocations: 116.1 kB / 4.745 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/13.56, allocations: 5.531 kB / 4.745 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00501/13.56, allocations: 2.672 MB / 4.748 GB, free: 77.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/13.56, allocations: 20.62 kB / 4.748 GB, free: 77.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/13.56, allocations: 455.8 kB / 4.748 GB, free: 77.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/13.57, allocations: 482.3 kB / 4.749 GB, free: 77.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/13.57, allocations: 2.63 MB / 4.751 GB, free: 75.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/13.57, allocations: 209.7 kB / 4.751 GB, free: 75.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004401/13.57, allocations: 102.9 kB / 4.752 GB, free: 75.73 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 () * 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.0008207/13.57, allocations: 237.3 kB / 4.752 GB, free: 75.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/13.58, allocations: 312.5 kB / 4.752 GB, free: 75.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/13.58, allocations: 2.424 MB / 4.754 GB, free: 75.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/13.58, allocations: 21.11 kB / 4.754 GB, free: 75.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/13.58, allocations: 3.719 kB / 4.754 GB, free: 75.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002802/13.58, allocations: 2.077 MB / 4.756 GB, free: 74.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/13.59, allocations: 5.308 MB / 4.762 GB, free: 74.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/13.59, allocations: 0 / 4.762 GB, free: 74.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/13.59, allocations: 278.1 kB / 4.762 GB, free: 74.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/13.6, allocations: 324.7 kB / 4.762 GB, free: 74.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/13.6, allocations: 48.89 kB / 4.762 GB, free: 74.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/13.6, allocations: 8.977 MB / 4.771 GB, free: 66.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/13.6, allocations: 0 / 4.771 GB, free: 66.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/13.61, allocations: 3.485 MB / 4.774 GB, free: 66.03 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/13.61, allocations: 0.66 MB / 4.775 GB, free: 65.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/13.61, allocations: 40.33 kB / 4.775 GB, free: 65.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/13.61, allocations: 146.3 kB / 4.775 GB, free: 65.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/13.61, allocations: 112.9 kB / 4.775 GB, free: 65.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/13.61, allocations: 74.75 kB / 4.775 GB, free: 65.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00339/13.62, allocations: 2.094 MB / 4.777 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.11e-07/13.62, allocations: 0 / 4.777 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007791/13.62, allocations: 1.778 MB / 4.779 GB, free: 65.51 MB / 0.8855 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.009425/13.63, allocations: 6.343 MB / 4.785 GB, free: 63.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008321/13.64, allocations: 3.99 MB / 4.789 GB, free: 63.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/13.64, allocations: 4.25 kB / 4.789 GB, free: 63.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/13.64, allocations: 1.679 MB / 4.791 GB, free: 62.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00939/13.65, allocations: 1.695 MB / 4.793 GB, free: 62.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/13.67, allocations: 6.487 MB / 4.799 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/13.67, allocations: 2.454 MB / 4.801 GB, free: 59.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006446/13.68, allocations: 1.816 MB / 4.803 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/13.68, allocations: 1.297 MB / 4.804 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.143e-06/13.68, allocations: 0 / 4.804 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.198/13.88, allocations: 123.6 MB / 4.925 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/13.88, allocations: 226.9 kB / 4.925 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/21.05, allocations: 0 / 4.925 GB, free: 3.75 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)