Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.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.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System5",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.413/2.413, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001219/0.001219, allocations: 183.2 kB / 498.1 MB, free: 5.73 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.68/1.68, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.0008967/0.0008972, allocations: 102.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.000427, allocations: 8.625 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/6.993, allocations: 2.225 GB / 3.448 GB, free: 205.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/6.994, allocations: 98.67 kB / 3.448 GB, free: 205.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.83/25.83, allocations: 4.421 GB / 7.869 GB, free: 6.391 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.106e-06/25.83, allocations: 0 / 7.869 GB, free: 6.391 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002856/25.83, allocations: 306.1 kB / 7.869 GB, free: 6.098 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1718 * Number of variables: 1718 Notification: Performance of Generate backend data structure: time 0.05337/25.88, allocations: 11.83 MB / 7.88 GB, free: 10.16 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/25.88, allocations: 8.031 kB / 7.881 GB, free: 10.15 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005855/25.89, allocations: 0.8967 MB / 7.881 GB, free: 9.242 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/25.9, allocations: 2.254 MB / 7.884 GB, free: 6.973 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.255/27.16, allocations: 13.01 MB / 7.896 GB, free: 75.72 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009696/27.16, allocations: 0.53 MB / 7.897 GB, free: 75.71 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003725/27.16, allocations: 0.7202 MB / 7.898 GB, free: 75.71 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02868/27.19, allocations: 7.784 MB / 7.905 GB, free: 74.84 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003505/27.19, allocations: 20 kB / 7.905 GB, free: 74.84 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/27.2, allocations: 288.1 kB / 7.905 GB, free: 74.84 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/27.2, allocations: 278.8 kB / 7.906 GB, free: 74.82 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/27.21, allocations: 6.075 MB / 7.912 GB, free: 74.76 MB / 1.354 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.08916/27.3, allocations: 38.97 MB / 7.95 GB, free: 55.78 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009986/27.31, allocations: 4.495 MB / 7.954 GB, free: 54.98 MB / 1.354 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.03527/27.35, allocations: 9.564 MB / 7.963 GB, free: 52.26 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007446/27.36, allocations: 2.372 MB / 7.966 GB, free: 52.11 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009214/27.37, allocations: 490.2 kB / 7.966 GB, free: 52.02 MB / 1.354 GB Notification: Performance of pre-optimization done (n=380): time 4.578e-05/27.37, allocations: 0.9688 kB / 7.966 GB, free: 52.02 MB / 1.354 GB Notification: Performance of matching and sorting (n=388): time 0.05715/27.42, allocations: 13.39 MB / 7.979 GB, free: 49.14 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/27.42, allocations: 201.1 kB / 7.979 GB, free: 48.95 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02168/27.45, allocations: 7.041 MB / 7.986 GB, free: 48.41 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001669/27.45, allocations: 130.5 kB / 7.986 GB, free: 48.38 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.007829/27.45, allocations: 4.753 MB / 7.991 GB, free: 47.3 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.00301/27.46, allocations: 1.337 MB / 7.992 GB, free: 46.45 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/27.46, allocations: 112.1 kB / 7.992 GB, free: 46.45 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0007676/27.46, allocations: 0.5012 MB / 7.993 GB, free: 46.13 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005709/27.47, allocations: 1.887 MB / 7.995 GB, free: 46.12 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/27.47, allocations: 3.697 MB / 7.998 GB, free: 44 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006522/27.48, allocations: 2.467 MB / 8.001 GB, free: 43.94 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.662e-05/27.48, allocations: 11.22 kB / 8.001 GB, free: 43.94 MB / 1.354 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.02167/27.5, allocations: 6.815 MB / 8.008 GB, free: 43.32 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.009046/27.51, allocations: 22.05 MB / 8.029 GB, free: 35.99 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/27.51, allocations: 38.06 kB / 8.029 GB, free: 35.99 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/27.51, allocations: 0.9081 MB / 8.03 GB, free: 35.95 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/27.52, allocations: 1.139 MB / 8.031 GB, free: 35.95 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/27.53, allocations: 5.952 MB / 8.037 GB, free: 47.64 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/27.54, allocations: 0.7534 MB / 8.038 GB, free: 47.57 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/27.54, allocations: 249.5 kB / 8.038 GB, free: 47.57 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/27.54, allocations: 4.375 kB / 8.038 GB, free: 47.57 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01746/27.56, allocations: 5.812 MB / 8.044 GB, free: 47.43 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/27.56, allocations: 41.44 kB / 8.044 GB, free: 47.43 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/27.57, allocations: 0.8368 MB / 8.044 GB, free: 47.39 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00575/27.57, allocations: 1.101 MB / 8.045 GB, free: 47.39 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/27.58, allocations: 7.821 MB / 8.053 GB, free: 42.74 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/27.6, allocations: 0.699 MB / 8.054 GB, free: 42.68 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/27.6, allocations: 237.5 kB / 8.054 GB, free: 42.68 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (614): * Single equations (assignments): 607 * 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: 4 * 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: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.009921/27.61, allocations: 2.181 MB / 8.056 GB, free: 42.46 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004532/27.61, allocations: 0.8652 MB / 8.057 GB, free: 42 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/27.63, allocations: 5.589 MB / 8.062 GB, free: 41.65 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/27.63, allocations: 50.05 kB / 8.063 GB, free: 41.65 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/27.63, allocations: 2.969 kB / 8.063 GB, free: 41.65 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01121/27.64, allocations: 4.174 MB / 8.067 GB, free: 41.4 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04596/27.69, allocations: 12.99 MB / 8.079 GB, free: 40.46 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/27.69, allocations: 2.25 kB / 8.079 GB, free: 40.46 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004492/27.69, allocations: 0.7475 MB / 8.08 GB, free: 40.46 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/27.69, allocations: 0.6205 MB / 8.081 GB, free: 40.39 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/27.7, allocations: 113 kB / 8.081 GB, free: 40.39 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00943/27.71, allocations: 11.64 MB / 8.092 GB, free: 30.45 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/27.71, allocations: 0.75 kB / 8.092 GB, free: 30.45 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/27.73, allocations: 7.71 MB / 8.1 GB, free: 29.41 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008777/27.74, allocations: 1.578 MB / 8.101 GB, free: 28.84 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004749/27.74, allocations: 94.22 kB / 8.101 GB, free: 28.84 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/27.75, allocations: 0.6268 MB / 8.102 GB, free: 28.8 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/27.75, allocations: 269.7 kB / 8.102 GB, free: 28.79 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001367/27.75, allocations: 181 kB / 8.102 GB, free: 28.79 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01672/27.77, allocations: 5.331 MB / 8.107 GB, free: 28.51 MB / 1.385 GB Notification: Performance of sort global known variables: time 2.184e-06/27.77, allocations: 0 / 8.107 GB, free: 28.51 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.0341/27.81, allocations: 4.818 MB / 8.112 GB, free: 28.45 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (375): * Single equations (assignments): 355 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.03717/27.84, allocations: 13.87 MB / 8.126 GB, free: 40.86 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02762/27.87, allocations: 8.756 MB / 8.134 GB, free: 40.14 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-05/27.87, allocations: 6.875 kB / 8.134 GB, free: 40.13 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.007349/27.88, allocations: 3.062 MB / 8.137 GB, free: 39.34 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/27.9, allocations: 4.298 MB / 8.141 GB, free: 39.3 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07901/27.98, allocations: 54.41 MB / 8.195 GB, free: 14.11 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/28, allocations: 5.157 MB / 8.2 GB, free: 13.11 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.01775/28.01, allocations: 2.342 MB / 8.202 GB, free: 12.82 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01294/28.03, allocations: 4.462 MB / 8.206 GB, free: 12.81 MB / 1.417 GB Notification: Performance of SimCode: time 1.593e-06/28.03, allocations: 0 / 8.206 GB, free: 12.81 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.701/29.73, allocations: 288.2 MB / 8.488 GB, free: 154.9 MB / 1.448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/29.73, allocations: 242.5 kB / 8.488 GB, free: 154.7 MB / 1.448 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/42.89, allocations: 0 / 8.488 GB, free: 154.7 MB / 1.448 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System5_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System5.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat does not exist to compare? outputFormat=mat