Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 179.3 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.1 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 100.3 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004028, allocations: 8.062 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3612, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/6.96, allocations: 2.243 GB / 3.466 GB, free: 186.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/6.96, allocations: 92.14 kB / 3.466 GB, free: 186.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.96/26.92, allocations: 4.469 GB / 7.935 GB, free: 88.39 MB / 1.37 GB Notification: Performance of FrontEnd: time 2.074e-06/26.92, allocations: 0 / 7.935 GB, free: 88.39 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.002737/26.93, allocations: 324.9 kB / 7.935 GB, free: 88.33 MB / 1.37 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.05006/26.98, allocations: 12.71 MB / 7.948 GB, free: 82.89 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/26.98, allocations: 12.12 kB / 7.948 GB, free: 82.89 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00504/26.98, allocations: 0.9821 MB / 7.949 GB, free: 82.81 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/27, allocations: 2.436 MB / 7.951 GB, free: 82.12 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04165/27.04, allocations: 13.48 MB / 7.964 GB, free: 80.44 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007846/27.04, allocations: 0.5864 MB / 7.965 GB, free: 80.43 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/27.04, allocations: 0.7922 MB / 7.966 GB, free: 80.42 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/27.07, allocations: 8.578 MB / 7.974 GB, free: 79.46 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/27.07, allocations: 18.81 kB / 7.974 GB, free: 79.46 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/27.07, allocations: 321.8 kB / 7.974 GB, free: 79.46 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/27.07, allocations: 305.6 kB / 7.975 GB, free: 79.45 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/27.09, allocations: 7.122 MB / 7.982 GB, free: 79.38 MB / 1.37 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.07845/27.17, allocations: 41.4 MB / 8.022 GB, free: 59.15 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009389/27.18, allocations: 5.135 MB / 8.027 GB, free: 58.31 MB / 1.37 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 evalFunc (simulation): time 0.0299/27.21, allocations: 10.38 MB / 8.037 GB, free: 55.47 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005015/27.21, allocations: 2.732 MB / 8.04 GB, free: 55.32 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007156/27.22, allocations: 0.5184 MB / 8.04 GB, free: 55.11 MB / 1.37 GB Notification: Performance of pre-optimization done (n=449): time 2.695e-05/27.22, allocations: 2.219 kB / 8.04 GB, free: 55.11 MB / 1.37 GB Notification: Performance of matching and sorting (n=457): time 0.04262/27.26, allocations: 15.14 MB / 8.055 GB, free: 51.82 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/27.26, allocations: 384.3 kB / 8.055 GB, free: 51.41 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/27.28, allocations: 7.522 MB / 8.063 GB, free: 50.84 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001839/27.28, allocations: 141.3 kB / 8.063 GB, free: 50.81 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.005678/27.28, allocations: 5.13 MB / 8.068 GB, free: 49.34 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/27.29, allocations: 1.568 MB / 8.069 GB, free: 48.34 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/27.29, allocations: 114.9 kB / 8.07 GB, free: 48.34 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0003142/27.29, allocations: 0.5227 MB / 8.07 GB, free: 48.03 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/27.29, allocations: 2.09 MB / 8.072 GB, free: 48.01 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/27.3, allocations: 4.003 MB / 8.076 GB, free: 45.82 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00532/27.3, allocations: 2.72 MB / 8.079 GB, free: 45.71 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.545e-05/27.3, allocations: 11.78 kB / 8.079 GB, free: 45.71 MB / 1.37 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.019/27.32, allocations: 7.472 MB / 8.086 GB, free: 44.96 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.005248/27.33, allocations: 22.9 MB / 8.108 GB, free: 21.25 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/27.33, allocations: 39.66 kB / 8.108 GB, free: 21.25 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/27.33, allocations: 0.9864 MB / 8.109 GB, free: 21.2 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/27.34, allocations: 1.263 MB / 8.111 GB, free: 21.2 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/27.35, allocations: 7.459 MB / 8.118 GB, free: 15.61 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01419/27.36, allocations: 0.7906 MB / 8.119 GB, free: 15.54 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/27.36, allocations: 284.7 kB / 8.119 GB, free: 15.54 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/27.36, allocations: 3 kB / 8.119 GB, free: 15.54 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01448/27.38, allocations: 6.448 MB / 8.125 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/27.38, allocations: 38.19 kB / 8.125 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/27.38, allocations: 0.9245 MB / 8.126 GB, free: 15.25 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005906/27.39, allocations: 1.218 MB / 8.127 GB, free: 15.25 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/27.4, allocations: 9.327 MB / 8.136 GB, free: 25.31 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/27.41, allocations: 0.7429 MB / 8.137 GB, free: 25.25 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/27.41, allocations: 261 kB / 8.137 GB, free: 25.25 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 677 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008727/27.42, allocations: 2.306 MB / 8.14 GB, free: 25.03 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003611/27.43, allocations: 0.9385 MB / 8.141 GB, free: 24.53 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/27.44, allocations: 6.526 MB / 8.147 GB, free: 24.07 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/27.44, allocations: 52.3 kB / 8.147 GB, free: 24.07 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/27.44, allocations: 2.656 kB / 8.147 GB, free: 24.07 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009728/27.45, allocations: 4.83 MB / 8.152 GB, free: 23.74 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03886/27.49, allocations: 14.58 MB / 8.166 GB, free: 22.71 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/27.49, allocations: 0 / 8.166 GB, free: 22.71 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004287/27.5, allocations: 0.8837 MB / 8.167 GB, free: 22.71 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/27.5, allocations: 0.6948 MB / 8.167 GB, free: 22.63 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007067/27.5, allocations: 134.9 kB / 8.168 GB, free: 22.63 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/27.51, allocations: 13.19 MB / 8.181 GB, free: 11.38 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/27.51, allocations: 0 / 8.181 GB, free: 11.38 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/27.53, allocations: 8.837 MB / 8.189 GB, free: 10.19 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008096/27.54, allocations: 1.755 MB / 8.191 GB, free: 9.586 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003734/27.54, allocations: 106.8 kB / 8.191 GB, free: 9.586 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009297/27.55, allocations: 0.6857 MB / 8.192 GB, free: 9.508 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009852/27.55, allocations: 336 kB / 8.192 GB, free: 9.5 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006868/27.55, allocations: 208.8 kB / 8.192 GB, free: 9.5 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01482/27.57, allocations: 5.703 MB / 8.198 GB, free: 9.215 MB / 1.385 GB Notification: Performance of sort global known variables: time 8.62e-07/27.57, allocations: 0 / 8.198 GB, free: 9.215 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03363/27.6, allocations: 5.202 MB / 8.203 GB, free: 8.977 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.032/27.63, allocations: 15.6 MB / 8.218 GB, free: 4.543 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02454/27.66, allocations: 9.971 MB / 8.228 GB, free: 19.49 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/27.66, allocations: 9.719 kB / 8.228 GB, free: 19.48 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.00698/27.66, allocations: 3.547 MB / 8.231 GB, free: 18.46 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/27.69, allocations: 4.521 MB / 8.236 GB, free: 18.22 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08528/27.77, allocations: 58.74 MB / 8.293 GB, free: 4.898 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009004/27.78, allocations: 5.5 MB / 8.298 GB, free: 3.855 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01603/27.8, allocations: 2.671 MB / 8.301 GB, free: 3.5 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/27.81, allocations: 4.921 MB / 8.306 GB, free: 3.484 MB / 1.432 GB Notification: Performance of SimCode: time 7.72e-07/27.81, allocations: 0 / 8.306 GB, free: 3.484 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.684/29.49, allocations: 304.2 MB / 8.603 GB, free: 164.3 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/29.49, allocations: 244.3 kB / 8.603 GB, free: 164 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/45, allocations: 7.156 kB / 8.603 GB, free: 164 MB / 1.464 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System6_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System6.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat does not exist to compare? outputFormat=mat