Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop",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.223/2.223, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001053/0.001053, allocations: 182.5 kB / 498.1 MB, free: 5.746 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.487/1.487, allocations: 223.2 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.001017/0.001017, allocations: 98.94 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.000391, allocations: 13.81 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3253, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.507, allocations: 458 MB / 1.67 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.508, allocations: 100.2 kB / 1.67 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.592/10.1, allocations: 2.394 GB / 4.065 GB, free: 68.82 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.356e-06/10.1, allocations: 0 / 4.065 GB, free: 68.82 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001097/10.1, allocations: 123.9 kB / 4.065 GB, free: 68.7 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 676 * Number of variables: 676 Notification: Performance of Generate backend data structure: time 0.02378/10.12, allocations: 5.927 MB / 4.07 GB, free: 62.69 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/10.12, allocations: 8.031 kB / 4.07 GB, free: 62.68 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001957/10.13, allocations: 367.2 kB / 4.071 GB, free: 62.32 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007493/10.13, allocations: 1.094 MB / 4.072 GB, free: 61.21 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/10.16, allocations: 5.804 MB / 4.078 GB, free: 55.34 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/10.16, allocations: 225.9 kB / 4.078 GB, free: 55.12 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/10.16, allocations: 295.9 kB / 4.078 GB, free: 54.84 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/10.17, allocations: 3.142 MB / 4.081 GB, free: 51.56 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/10.17, allocations: 4 kB / 4.081 GB, free: 51.55 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007466/10.17, allocations: 112 kB / 4.081 GB, free: 51.45 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/10.17, allocations: 104.8 kB / 4.081 GB, free: 51.34 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006597/10.18, allocations: 2.55 MB / 4.084 GB, free: 48.78 MB / 1.229 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.02539/10.2, allocations: 17.69 MB / 4.101 GB, free: 29.52 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/10.21, allocations: 1.745 MB / 4.103 GB, free: 27.76 MB / 1.229 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.00885/10.21, allocations: 3.983 MB / 4.107 GB, free: 23.59 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/10.21, allocations: 55.88 kB / 4.107 GB, free: 23.52 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004769/10.22, allocations: 1.095 MB / 4.108 GB, free: 22.43 MB / 1.229 GB Notification: Performance of pre-optimization done (n=150): time 8.376e-06/10.22, allocations: 0 / 4.108 GB, free: 22.43 MB / 1.229 GB Notification: Performance of matching and sorting (n=155): time 0.02713/10.25, allocations: 8.045 MB / 4.116 GB, free: 14.27 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/10.25, allocations: 132.1 kB / 4.116 GB, free: 14.12 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/10.25, allocations: 3.318 MB / 4.119 GB, free: 10.81 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0004361/10.25, allocations: 65.7 kB / 4.119 GB, free: 10.74 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/10.25, allocations: 2.212 MB / 4.121 GB, free: 8.512 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/10.25, allocations: 0.5391 MB / 4.122 GB, free: 7.965 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/10.25, allocations: 40 kB / 4.122 GB, free: 7.926 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0001075/10.25, allocations: 390.1 kB / 4.122 GB, free: 7.539 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/10.26, allocations: 0.8318 MB / 4.123 GB, free: 6.703 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/10.26, allocations: 1.725 MB / 4.125 GB, free: 4.559 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/10.26, allocations: 1.055 MB / 4.126 GB, free: 3.508 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/10.26, allocations: 4 kB / 4.126 GB, free: 3.504 MB / 1.229 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.008146/10.27, allocations: 3.373 MB / 4.129 GB, free: 116 kB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.003729/10.27, allocations: 8.823 MB / 4.138 GB, free: 6.516 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/10.27, allocations: 23.94 kB / 4.138 GB, free: 6.492 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/10.28, allocations: 0.9436 MB / 4.139 GB, free: 5.547 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/10.28, allocations: 0.4914 MB / 4.139 GB, free: 5.055 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/10.28, allocations: 3.482 MB / 4.142 GB, free: 1.391 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/10.29, allocations: 331.5 kB / 4.143 GB, free: 1.062 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/10.29, allocations: 123.9 kB / 4.143 GB, free: 0.9414 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/10.29, allocations: 4 kB / 4.143 GB, free: 0.9375 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007468/10.3, allocations: 2.868 MB / 4.146 GB, free: 14.05 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-05/10.3, allocations: 24.69 kB / 4.146 GB, free: 14.03 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004414/10.3, allocations: 0.9309 MB / 4.147 GB, free: 13.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/10.3, allocations: 483.3 kB / 4.147 GB, free: 12.62 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/10.31, allocations: 4.782 MB / 4.152 GB, free: 7.539 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/10.31, allocations: 311.8 kB / 4.152 GB, free: 7.234 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/10.31, allocations: 119.9 kB / 4.152 GB, free: 7.117 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {8 19,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.002676/10.32, allocations: 0.8655 MB / 4.153 GB, free: 6.242 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/10.32, allocations: 450.3 kB / 4.153 GB, free: 5.797 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/10.33, allocations: 2.992 MB / 4.156 GB, free: 2.793 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/10.33, allocations: 19.98 kB / 4.156 GB, free: 2.773 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/10.33, allocations: 4 kB / 4.156 GB, free: 2.77 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00512/10.33, allocations: 2.255 MB / 4.159 GB, free: 492 kB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.9758/11.31, allocations: 6.062 MB / 4.165 GB, free: 122.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/11.31, allocations: 3.906 kB / 4.165 GB, free: 122.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/11.31, allocations: 321.8 kB / 4.165 GB, free: 122.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/11.31, allocations: 0.5857 MB / 4.165 GB, free: 122.3 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/11.31, allocations: 52.33 kB / 4.165 GB, free: 122.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/11.31, allocations: 3.212 MB / 4.169 GB, free: 120 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/11.31, allocations: 5.016 kB / 4.169 GB, free: 120 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/11.33, allocations: 3.944 MB / 4.172 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/11.33, allocations: 0.715 MB / 4.173 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000962/11.33, allocations: 37.53 kB / 4.173 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/11.33, allocations: 275.1 kB / 4.173 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/11.34, allocations: 115.7 kB / 4.174 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/11.34, allocations: 73.78 kB / 4.174 GB, free: 119.6 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.00632/11.34, allocations: 2.542 MB / 4.176 GB, free: 119.4 MB / 1.26 GB Notification: Performance of sort global known variables: time 3.71e-07/11.34, allocations: 0 / 4.176 GB, free: 119.4 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01174/11.35, allocations: 2.105 MB / 4.178 GB, free: 119.4 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.s[1],val.filter.s[2],pumLoa.filter.s[1],pumLoa.filter.s[2],pumBoi.filter.s[1],pumBoi.filter.s[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {7 19,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/11.37, allocations: 6.973 MB / 4.185 GB, free: 118 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.009924/11.38, allocations: 4.046 MB / 4.189 GB, free: 117.6 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/11.38, allocations: 0 / 4.189 GB, free: 117.6 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/11.38, allocations: 1.249 MB / 4.19 GB, free: 117.4 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/11.39, allocations: 2.035 MB / 4.192 GB, free: 117.4 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/11.43, allocations: 26.21 MB / 4.218 GB, free: 96.16 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003944/11.43, allocations: 2.507 MB / 4.22 GB, free: 95.38 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.006742/11.44, allocations: 0.9207 MB / 4.221 GB, free: 95.34 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003681/11.44, allocations: 1.999 MB / 4.223 GB, free: 95.34 MB / 1.26 GB Notification: Performance of SimCode: time 1.803e-06/11.44, allocations: 0 / 4.223 GB, free: 95.34 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2607/11.7, allocations: 137.9 MB / 4.358 GB, free: 88.91 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/11.7, allocations: 218.3 kB / 4.358 GB, free: 88.67 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/19.23, allocations: 5.219 kB / 4.358 GB, free: 88.67 MB / 1.26 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat does not exist to compare? outputFormat=mat