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.258/2.258, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001227/0.001227, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.58/1.58, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001123/0.001123, allocations: 94.52 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 13.94 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.456, allocations: 419.7 MB / 1.633 GB, free: 8.289 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/1.456, allocations: 90.52 kB / 1.633 GB, free: 8.242 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/3.238, allocations: 463 MB / 2.085 GB, free: 251.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.453e-06/3.238, allocations: 0 / 2.085 GB, free: 251.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002044/3.238, allocations: 32 kB / 2.085 GB, free: 251.3 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.005066/3.243, allocations: 1.751 MB / 2.087 GB, free: 249.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.243, allocations: 12.03 kB / 2.087 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004698/3.244, allocations: 135.5 kB / 2.087 GB, free: 249.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/3.244, allocations: 166.2 kB / 2.087 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/3.248, allocations: 1.418 MB / 2.089 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/3.248, allocations: 70.45 kB / 2.089 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/3.249, allocations: 91.95 kB / 2.089 GB, free: 247.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/3.25, allocations: 0.9488 MB / 2.09 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/3.25, allocations: 0 / 2.09 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/3.251, allocations: 40 kB / 2.09 GB, free: 246.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/3.251, allocations: 33.98 kB / 2.09 GB, free: 246.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/3.252, allocations: 0.6558 MB / 2.09 GB, free: 245.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.005962/3.258, allocations: 4.118 MB / 2.094 GB, free: 241.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/3.259, allocations: 0.5063 MB / 2.095 GB, free: 241 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/3.259, allocations: 0.5026 MB / 2.095 GB, free: 240.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005384/3.26, allocations: 358.8 kB / 2.096 GB, free: 240 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 3.537e-06/3.26, allocations: 0 / 2.096 GB, free: 240 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.004515/3.264, allocations: 2.085 MB / 2.098 GB, free: 237.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/3.265, allocations: 140.9 kB / 2.098 GB, free: 237.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/3.266, allocations: 0.9698 MB / 2.099 GB, free: 236.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/3.266, allocations: 37.7 kB / 2.099 GB, free: 236.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/3.267, allocations: 0.5972 MB / 2.099 GB, free: 236 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/3.267, allocations: 174 kB / 2.1 GB, free: 235.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/3.267, allocations: 12 kB / 2.1 GB, free: 235.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/3.267, allocations: 330 kB / 2.1 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/3.268, allocations: 217.1 kB / 2.1 GB, free: 235.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/3.268, allocations: 423.7 kB / 2.1 GB, free: 234.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/3.269, allocations: 299.7 kB / 2.101 GB, free: 234.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.269, allocations: 8 kB / 2.101 GB, free: 234.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001412/3.27, allocations: 0.876 MB / 2.102 GB, free: 233.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004379/3.27, allocations: 1.536 MB / 2.103 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/3.27, allocations: 11.98 kB / 2.103 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/3.271, allocations: 121.6 kB / 2.103 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/3.271, allocations: 111.8 kB / 2.103 GB, free: 231.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/3.273, allocations: 2.235 MB / 2.106 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/3.274, allocations: 87.88 kB / 2.106 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/3.274, allocations: 35.98 kB / 2.106 GB, free: 229.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.274, allocations: 5.719 kB / 2.106 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/3.275, allocations: 0.7699 MB / 2.106 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/3.275, allocations: 7.953 kB / 2.106 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/3.276, allocations: 117.7 kB / 2.107 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/3.276, allocations: 108.1 kB / 2.107 GB, free: 228.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/3.278, allocations: 2.238 MB / 2.109 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/3.279, allocations: 79.8 kB / 2.109 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/3.279, allocations: 28 kB / 2.109 GB, free: 225.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.0007994/3.28, allocations: 423 kB / 2.109 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/3.28, allocations: 118.6 kB / 2.109 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/3.281, allocations: 0.8068 MB / 2.11 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/3.281, allocations: 11.98 kB / 2.11 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/3.281, allocations: 3.938 kB / 2.11 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009101/3.282, allocations: 0.7589 MB / 2.111 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/3.285, allocations: 1.88 MB / 2.113 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/3.285, allocations: 4 kB / 2.113 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/3.286, allocations: 72.02 kB / 2.113 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/3.286, allocations: 117.6 kB / 2.113 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/3.286, allocations: 16 kB / 2.113 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/3.288, allocations: 2.23 MB / 2.115 GB, free: 218.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/3.288, allocations: 12.08 kB / 2.115 GB, free: 218.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/3.289, allocations: 1.239 MB / 2.116 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000719/3.29, allocations: 279.6 kB / 2.117 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/3.29, allocations: 16 kB / 2.117 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/3.291, allocations: 47.86 kB / 2.117 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/3.291, allocations: 39.91 kB / 2.117 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/3.291, allocations: 27.98 kB / 2.117 GB, free: 217.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001251/3.293, allocations: 0.7636 MB / 2.118 GB, free: 216.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.293, allocations: 0 / 2.118 GB, free: 216.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002769/3.295, allocations: 0.6326 MB / 2.118 GB, free: 215.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.003125/3.299, allocations: 2.533 MB / 2.121 GB, free: 213.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002035/3.301, allocations: 1.297 MB / 2.122 GB, free: 211.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/3.301, allocations: 0 / 2.122 GB, free: 211.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/3.301, allocations: 487.7 kB / 2.122 GB, free: 211.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/3.304, allocations: 0.5533 MB / 2.123 GB, free: 210.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/3.316, allocations: 9.117 MB / 2.132 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/3.317, allocations: 1.155 MB / 2.133 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001214/3.318, allocations: 217.4 kB / 2.133 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/3.319, allocations: 459.2 kB / 2.134 GB, free: 199.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/3.319, allocations: 0 / 2.134 GB, free: 199.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/3.384, allocations: 36.96 MB / 2.17 GB, free: 163 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/3.384, allocations: 251.3 kB / 2.17 GB, free: 162.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/6.604, allocations: 3.25 kB / 2.17 GB, free: 162.6 MB / 1.167 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