Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",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.479/2.479, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001048/0.001048, allocations: 176.6 kB / 487.4 MB, free: 5.051 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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.97 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.814e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3386, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.682, allocations: 419 MB / 1.615 GB, free: 3.473 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004148/1.682, allocations: 82.08 kB / 1.615 GB, free: 3.434 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.915/3.598, allocations: 459.1 MB / 2.064 GB, free: 142.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.845e-06/3.598, allocations: 0 / 2.064 GB, free: 142.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002729/3.598, allocations: 32 kB / 2.064 GB, free: 142.3 MB / 1.151 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.004837/3.603, allocations: 1.518 MB / 2.065 GB, free: 140.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/3.603, allocations: 8.031 kB / 2.065 GB, free: 140.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/3.604, allocations: 166.1 kB / 2.065 GB, free: 140.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/3.608, allocations: 1.402 MB / 2.067 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/3.608, allocations: 28 kB / 2.067 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/3.609, allocations: 55.95 kB / 2.067 GB, free: 139 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001488/3.61, allocations: 0.578 MB / 2.067 GB, free: 138.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/3.612, allocations: 0.8084 MB / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/3.612, allocations: 0 / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/3.612, allocations: 4 kB / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/3.612, allocations: 37.94 kB / 2.068 GB, free: 137.6 MB / 1.151 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.007021/3.619, allocations: 3.947 MB / 2.072 GB, free: 133.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/3.62, allocations: 483.4 kB / 2.072 GB, free: 132.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/3.621, allocations: 234.5 kB / 2.073 GB, free: 132.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/3.621, allocations: 0.5065 MB / 2.073 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/3.622, allocations: 342.5 kB / 2.074 GB, free: 131.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 4.589e-06/3.622, allocations: 0 / 2.074 GB, free: 131.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.00427/3.626, allocations: 1.542 MB / 2.075 GB, free: 130.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/3.626, allocations: 144.9 kB / 2.075 GB, free: 130 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/3.628, allocations: 0.8165 MB / 2.076 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/3.628, allocations: 25.7 kB / 2.076 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/3.628, allocations: 0.5965 MB / 2.077 GB, free: 128.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/3.629, allocations: 165.6 kB / 2.077 GB, free: 128.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/3.629, allocations: 0 / 2.077 GB, free: 128.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001083/3.629, allocations: 333.9 kB / 2.077 GB, free: 128 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/3.629, allocations: 197.5 kB / 2.077 GB, free: 127.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/3.63, allocations: 407.4 kB / 2.078 GB, free: 127.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/3.63, allocations: 266 kB / 2.078 GB, free: 127.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/3.63, allocations: 4 kB / 2.078 GB, free: 127 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001694/3.632, allocations: 0.7885 MB / 2.079 GB, free: 126.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006135/3.633, allocations: 1.516 MB / 2.08 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/3.633, allocations: 4 kB / 2.08 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/3.633, allocations: 133.6 kB / 2.08 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/3.634, allocations: 107.8 kB / 2.08 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/3.635, allocations: 2.184 MB / 2.083 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/3.637, allocations: 71.83 kB / 2.083 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/3.637, allocations: 39.98 kB / 2.083 GB, free: 121.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/3.637, allocations: 4 kB / 2.083 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/3.638, allocations: 0.6705 MB / 2.083 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/3.638, allocations: 8 kB / 2.083 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/3.638, allocations: 106.2 kB / 2.083 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/3.639, allocations: 103.8 kB / 2.083 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/3.64, allocations: 2.187 MB / 2.086 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/3.641, allocations: 55.86 kB / 2.086 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/3.641, allocations: 40.08 kB / 2.086 GB, free: 118.6 MB / 1.151 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 () * 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.0003132/3.642, allocations: 163.2 kB / 2.086 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001389/3.643, allocations: 0.6662 MB / 2.087 GB, free: 117.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/3.643, allocations: 114.6 kB / 2.087 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/3.645, allocations: 0.7258 MB / 2.087 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/3.645, allocations: 4 kB / 2.087 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/3.645, allocations: 0 / 2.087 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009832/3.646, allocations: 0.683 MB / 2.088 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/3.649, allocations: 1.693 MB / 2.09 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/3.649, allocations: 4.125 kB / 2.09 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/3.65, allocations: 67.91 kB / 2.09 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/3.65, allocations: 133.7 kB / 2.09 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/3.65, allocations: 11.98 kB / 2.09 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/3.652, allocations: 2.167 MB / 2.092 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/3.652, allocations: 0 / 2.092 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/3.654, allocations: 1.162 MB / 2.093 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/3.654, allocations: 267.7 kB / 2.093 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/3.655, allocations: 8 kB / 2.093 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/3.656, allocations: 39.95 kB / 2.093 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/3.656, allocations: 35.86 kB / 2.093 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/3.656, allocations: 31.97 kB / 2.093 GB, free: 110.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001294/3.657, allocations: 0.632 MB / 2.094 GB, free: 109.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/3.657, allocations: 0 / 2.094 GB, free: 109.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003121/3.66, allocations: 0.5974 MB / 2.095 GB, free: 109 MB / 1.151 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) * 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.00375/3.664, allocations: 2.434 MB / 2.097 GB, free: 106.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002062/3.666, allocations: 1.249 MB / 2.098 GB, free: 105.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/3.666, allocations: 0 / 2.098 GB, free: 105.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005652/3.667, allocations: 461.2 kB / 2.099 GB, free: 104.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/3.67, allocations: 479.1 kB / 2.099 GB, free: 104.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/3.675, allocations: 1.699 MB / 2.101 GB, free: 102.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/3.676, allocations: 1.157 MB / 2.102 GB, free: 101.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001701/3.677, allocations: 295.9 kB / 2.102 GB, free: 101.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/3.678, allocations: 435.3 kB / 2.103 GB, free: 100.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/3.678, allocations: 0 / 2.103 GB, free: 100.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07638/3.754, allocations: 32.26 MB / 2.134 GB, free: 68.66 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/3.755, allocations: 167.4 kB / 2.134 GB, free: 68.47 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.419/7.174, allocations: 0 / 2.134 GB, free: 68.47 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat does not exist to compare? outputFormat=mat