Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.002528/0.002527, allocations: 187.8 kB / 0.4901 GB, free: 2.27 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.505/1.505, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0008932/0.000893, allocations: 101.1 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003491, allocations: 12 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.311, allocations: 420.5 MB / 1.64 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.312, allocations: 95.39 kB / 1.64 GB, free: 4.676 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/2.885, allocations: 463 MB / 2.092 GB, free: 218.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.042e-06/2.885, allocations: 0 / 2.092 GB, free: 218.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001007/2.885, allocations: 43.92 kB / 2.092 GB, free: 218.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003322/2.888, allocations: 1.75 MB / 2.094 GB, free: 216.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/2.888, allocations: 8.031 kB / 2.094 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/2.888, allocations: 139.5 kB / 2.094 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/2.889, allocations: 162.2 kB / 2.094 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/2.891, allocations: 1.422 MB / 2.096 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/2.891, allocations: 69.95 kB / 2.096 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/2.891, allocations: 92 kB / 2.096 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/2.893, allocations: 0.9375 MB / 2.097 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/2.893, allocations: 0 / 2.097 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/2.893, allocations: 40 kB / 2.097 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/2.893, allocations: 45.92 kB / 2.097 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/2.894, allocations: 0.6558 MB / 2.097 GB, free: 212.8 MB / 1.167 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.004439/2.898, allocations: 4.122 MB / 2.101 GB, free: 208.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/2.899, allocations: 0.5103 MB / 2.102 GB, free: 207.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/2.9, allocations: 0.5026 MB / 2.102 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/2.9, allocations: 350.5 kB / 2.103 GB, free: 206.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/2.9, allocations: 3.984 kB / 2.103 GB, free: 206.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.003593/2.904, allocations: 2.097 MB / 2.105 GB, free: 204.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/2.904, allocations: 136.9 kB / 2.105 GB, free: 204.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/2.905, allocations: 0.9737 MB / 2.106 GB, free: 203.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/2.905, allocations: 37.7 kB / 2.106 GB, free: 203.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/2.905, allocations: 0.5899 MB / 2.107 GB, free: 202.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/2.905, allocations: 177.4 kB / 2.107 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/2.905, allocations: 12 kB / 2.107 GB, free: 202.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/2.905, allocations: 337.9 kB / 2.107 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/2.906, allocations: 213.2 kB / 2.107 GB, free: 202.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/2.906, allocations: 430 kB / 2.108 GB, free: 201.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/2.907, allocations: 295.8 kB / 2.108 GB, free: 201.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/2.907, allocations: 3.938 kB / 2.108 GB, free: 201.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001163/2.908, allocations: 0.8835 MB / 2.109 GB, free: 200.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003232/2.908, allocations: 1.532 MB / 2.11 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.908, allocations: 4 kB / 2.11 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/2.908, allocations: 121.6 kB / 2.11 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/2.909, allocations: 111.8 kB / 2.111 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/2.91, allocations: 2.239 MB / 2.113 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/2.911, allocations: 87.89 kB / 2.113 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/2.912, allocations: 35.92 kB / 2.113 GB, free: 196.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/2.912, allocations: 4 kB / 2.113 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/2.913, allocations: 0.7737 MB / 2.114 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/2.913, allocations: 4 kB / 2.114 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/2.913, allocations: 118 kB / 2.114 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/2.913, allocations: 107.8 kB / 2.114 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/2.915, allocations: 2.235 MB / 2.116 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/2.916, allocations: 79.83 kB / 2.116 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/2.916, allocations: 28 kB / 2.116 GB, free: 192.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007157/2.916, allocations: 430.6 kB / 2.116 GB, free: 192.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/2.916, allocations: 118.6 kB / 2.117 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/2.918, allocations: 0.807 MB / 2.117 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/2.918, allocations: 4 kB / 2.117 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.918, allocations: 8 kB / 2.117 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009389/2.919, allocations: 0.7472 MB / 2.118 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/2.921, allocations: 1.888 MB / 2.12 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/2.921, allocations: 3.984 kB / 2.12 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/2.922, allocations: 67.91 kB / 2.12 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/2.922, allocations: 113.6 kB / 2.12 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/2.922, allocations: 12 kB / 2.12 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/2.923, allocations: 2.242 MB / 2.122 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/2.923, allocations: 0 / 2.122 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/2.925, allocations: 1.25 MB / 2.124 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/2.925, allocations: 279.6 kB / 2.124 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/2.925, allocations: 19.95 kB / 2.124 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/2.926, allocations: 51.86 kB / 2.124 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/2.926, allocations: 35.89 kB / 2.124 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/2.926, allocations: 27.98 kB / 2.124 GB, free: 184.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008643/2.927, allocations: 0.7675 MB / 2.125 GB, free: 183.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.01e-07/2.927, allocations: 0 / 2.125 GB, free: 183.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001925/2.929, allocations: 0.6326 MB / 2.125 GB, free: 182.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002654/2.932, allocations: 2.515 MB / 2.128 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00179/2.933, allocations: 1.294 MB / 2.129 GB, free: 178.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/2.933, allocations: 4 kB / 2.129 GB, free: 178.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/2.934, allocations: 491.2 kB / 2.13 GB, free: 178.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/2.937, allocations: 0.5559 MB / 2.13 GB, free: 177.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/2.946, allocations: 9.117 MB / 2.139 GB, free: 168.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/2.947, allocations: 1.155 MB / 2.14 GB, free: 167 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009933/2.948, allocations: 225.3 kB / 2.14 GB, free: 166.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/2.948, allocations: 459.3 kB / 2.141 GB, free: 166.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.21e-07/2.948, allocations: 0 / 2.141 GB, free: 166.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05278/3.001, allocations: 36.98 MB / 2.177 GB, free: 129.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/3.001, allocations: 250.9 kB / 2.177 GB, free: 129.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/6.434, allocations: 7.938 kB / 2.177 GB, free: 129.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat does not exist to compare? outputFormat=mat