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.588/2.588, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001501/0.001501, allocations: 184.7 kB / 360.6 MB, free: 7.281 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.061/2.061, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001083/0.001083, allocations: 85.31 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.473e-05, allocations: 0 / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.848, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.128/7.976, allocations: 2.375 GB / 3.339 GB, free: 103.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/7.976, allocations: 87.95 kB / 3.339 GB, free: 103.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.319/15.3, allocations: 1.319 GB / 4.658 GB, free: 133.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/15.3, allocations: 0 / 4.658 GB, free: 133.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007493/15.3, allocations: 99.33 kB / 4.658 GB, free: 133.5 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.01357/15.31, allocations: 3.394 MB / 4.662 GB, free: 132.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/15.31, allocations: 7.812 kB / 4.662 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/15.32, allocations: 1.134 MB / 4.663 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/15.34, allocations: 4.756 MB / 4.667 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/15.34, allocations: 72.62 kB / 4.667 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/15.34, allocations: 148.9 kB / 4.668 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008775/15.35, allocations: 2.393 MB / 4.67 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/15.36, allocations: 2.734 MB / 4.673 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/15.36, allocations: 7.125 kB / 4.673 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000741/15.36, allocations: 6.375 kB / 4.673 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/15.36, allocations: 102.5 kB / 4.673 GB, free: 131 MB / 0.948 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.03326/15.4, allocations: 12.86 MB / 4.685 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/15.4, allocations: 1.999 MB / 4.687 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/15.4, allocations: 1.057 MB / 4.688 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/15.42, allocations: 4.303 MB / 4.692 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/15.42, allocations: 0.9507 MB / 4.693 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002165/15.42, allocations: 140.7 kB / 4.693 GB, free: 124.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 8.216e-06/15.42, allocations: 0 / 4.693 GB, free: 124.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.02058/15.45, allocations: 4.731 MB / 4.698 GB, free: 123.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/15.45, allocations: 121.8 kB / 4.698 GB, free: 123.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00581/15.45, allocations: 2.39 MB / 4.7 GB, free: 122.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006697/15.45, allocations: 32.55 kB / 4.701 GB, free: 122.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/15.45, allocations: 1.491 MB / 4.702 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009875/15.46, allocations: 0.504 MB / 4.702 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/15.46, allocations: 0 / 4.702 GB, free: 121.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/15.46, allocations: 391.5 kB / 4.703 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/15.46, allocations: 0.9213 MB / 4.704 GB, free: 121.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/15.46, allocations: 1.534 MB / 4.705 GB, free: 120.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/15.47, allocations: 1.284 MB / 4.707 GB, free: 120.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/15.47, allocations: 11.08 kB / 4.707 GB, free: 120.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01139/15.48, allocations: 3.005 MB / 4.709 GB, free: 120.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001699/15.48, allocations: 7.075 MB / 4.716 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/15.48, allocations: 23.86 kB / 4.716 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/15.48, allocations: 408.2 kB / 4.717 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/15.49, allocations: 495 kB / 4.717 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/15.49, allocations: 2.618 MB / 4.72 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/15.5, allocations: 175.5 kB / 4.72 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008493/15.5, allocations: 119 kB / 4.72 GB, free: 111.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/15.5, allocations: 5.438 kB / 4.72 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009174/15.51, allocations: 2.548 MB / 4.723 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-05/15.51, allocations: 18.94 kB / 4.723 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/15.51, allocations: 427.8 kB / 4.723 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/15.51, allocations: 480.2 kB / 4.723 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/15.52, allocations: 2.635 MB / 4.726 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/15.52, allocations: 149.4 kB / 4.726 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006735/15.52, allocations: 105.7 kB / 4.726 GB, free: 109.5 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 () * 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.0008271/15.53, allocations: 180.3 kB / 4.726 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007098/15.53, allocations: 2.013 MB / 4.728 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/15.53, allocations: 284.5 kB / 4.729 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/15.54, allocations: 2.362 MB / 4.731 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/15.54, allocations: 18.98 kB / 4.731 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/15.54, allocations: 3.25 kB / 4.731 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005704/15.55, allocations: 2.057 MB / 4.733 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/15.56, allocations: 5.041 MB / 4.738 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/15.56, allocations: 3.562 kB / 4.738 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/15.57, allocations: 273.8 kB / 4.738 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/15.57, allocations: 322.6 kB / 4.739 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/15.57, allocations: 29.34 kB / 4.739 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008261/15.58, allocations: 8.729 MB / 4.747 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/15.58, allocations: 0 / 4.747 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009257/15.58, allocations: 3.457 MB / 4.75 GB, free: 99.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/15.59, allocations: 0.6535 MB / 4.751 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/15.59, allocations: 13.34 kB / 4.751 GB, free: 99.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003893/15.59, allocations: 113.1 kB / 4.751 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/15.59, allocations: 118.4 kB / 4.751 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/15.59, allocations: 74.14 kB / 4.751 GB, free: 99.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004139/15.6, allocations: 1.772 MB / 4.753 GB, free: 99.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.52e-07/15.6, allocations: 3.281 kB / 4.753 GB, free: 99.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01049/15.61, allocations: 1.686 MB / 4.755 GB, free: 99.23 MB / 0.948 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.0145/15.62, allocations: 6.347 MB / 4.761 GB, free: 97.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01196/15.63, allocations: 3.907 MB / 4.765 GB, free: 96.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/15.63, allocations: 3 kB / 4.765 GB, free: 96.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/15.64, allocations: 1.629 MB / 4.766 GB, free: 95.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/15.65, allocations: 1.453 MB / 4.768 GB, free: 95.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/15.67, allocations: 6.295 MB / 4.774 GB, free: 92.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/15.67, allocations: 2.451 MB / 4.776 GB, free: 91.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01039/15.68, allocations: 1.687 MB / 4.778 GB, free: 91.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003266/15.69, allocations: 1.295 MB / 4.779 GB, free: 90.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/15.69, allocations: 0 / 4.779 GB, free: 90.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2384/15.93, allocations: 100.7 MB / 4.878 GB, free: 31.58 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/15.93, allocations: 166.6 kB / 4.878 GB, free: 31.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/23.44, allocations: 0 / 4.878 GB, free: 31.38 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)