Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001779, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.675/2.675, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.688/4.688, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.000552, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561/1.561, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.3116/1.873, allocations: 142.5 MB / 1.12 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03314/1.906, allocations: 12.54 MB / 1.132 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/1.909, allocations: 31.75 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/1.913, allocations: 0.5094 MB / 1.133 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/1.923, allocations: 1.549 MB / 1.134 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009426/1.932, allocations: 1.539 MB / 1.136 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005684/1.938, allocations: 1.219 MB / 1.137 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/1.941, allocations: 0.5311 MB / 1.138 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008888/1.95, allocations: 1.472 MB / 1.139 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/1.953, allocations: 454 kB / 1.139 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005527/1.953, allocations: 36 kB / 1.139 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/1.965, allocations: 2.411 MB / 1.142 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006697/1.966, allocations: 159.3 kB / 1.142 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009488/1.967, allocations: 213.2 kB / 1.142 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006353/1.973, allocations: 1.8 MB / 1.144 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.973, allocations: 0 / 1.144 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.883e-06/1.973, allocations: 0 / 1.144 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.08e-05/1.973, allocations: 3.938 kB / 1.144 GB, free: 14.93 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.006703/1.98, allocations: 1.228 MB / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 8.334e-05/1.98, allocations: 8.031 kB / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005242/1.98, allocations: 110.5 kB / 1.145 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/1.984, allocations: 206.5 kB / 1.145 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/1.987, allocations: 0.6473 MB / 1.146 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/1.987, allocations: 45.31 kB / 1.146 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/1.988, allocations: 64 kB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/1.99, allocations: 0.6683 MB / 1.147 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/1.99, allocations: 0 / 1.147 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.991, allocations: 28 kB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.991, allocations: 19.98 kB / 1.147 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.992, allocations: 0.5009 MB / 1.147 GB, free: 11.29 MB / 0.9044 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.02763/2.02, allocations: 6.891 MB / 1.154 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/2.021, allocations: 279.8 kB / 1.154 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/2.022, allocations: 307.2 kB / 1.155 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008667/2.023, allocations: 305.8 kB / 1.155 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 3.807e-06/2.023, allocations: 4 kB / 1.155 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.008872/2.031, allocations: 2.405 MB / 1.157 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/2.032, allocations: 195.9 kB / 1.157 GB, free: 288 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/2.034, allocations: 0.7901 MB / 1.158 GB, free: 15.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/2.034, allocations: 37.7 kB / 1.158 GB, free: 15.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/2.034, allocations: 427.9 kB / 1.159 GB, free: 15.01 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/2.035, allocations: 149.8 kB / 1.159 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/2.035, allocations: 16 kB / 1.159 GB, free: 14.85 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001942/2.035, allocations: 326 kB / 1.159 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/2.035, allocations: 205 kB / 1.159 GB, free: 14.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/2.037, allocations: 330.8 kB / 1.16 GB, free: 13.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/2.037, allocations: 263.8 kB / 1.16 GB, free: 13.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/2.037, allocations: 0 / 1.16 GB, free: 13.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0028/2.04, allocations: 0.7786 MB / 1.161 GB, free: 12.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008502/2.041, allocations: 0.825 MB / 1.161 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/2.041, allocations: 0 / 1.161 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/2.042, allocations: 145.6 kB / 1.162 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/2.043, allocations: 147.8 kB / 1.162 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/2.05, allocations: 4.334 MB / 1.166 GB, free: 7.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/2.051, allocations: 79.92 kB / 1.166 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/2.051, allocations: 27.94 kB / 1.166 GB, free: 6.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/2.051, allocations: 4 kB / 1.166 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002254/2.054, allocations: 0.6997 MB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/2.054, allocations: 4 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/2.054, allocations: 101.6 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/2.055, allocations: 111.9 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/2.06, allocations: 3.133 MB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/2.061, allocations: 64.03 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/2.061, allocations: 24 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009446/2.062, allocations: 352.4 kB / 1.17 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/2.063, allocations: 86.97 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/2.065, allocations: 0.7242 MB / 1.171 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/2.065, allocations: 4 kB / 1.171 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/2.065, allocations: 0 / 1.171 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/2.065, allocations: 3.984 kB / 1.171 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/2.069, allocations: 1.671 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.069, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/2.07, allocations: 87.89 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/2.071, allocations: 96.92 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/2.071, allocations: 11.95 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/2.074, allocations: 2.777 MB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.074, allocations: 11.95 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/2.077, allocations: 0.9493 MB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/2.078, allocations: 228 kB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/2.078, allocations: 15.98 kB / 1.177 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/2.079, allocations: 43.98 kB / 1.177 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/2.079, allocations: 35.89 kB / 1.177 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/2.079, allocations: 8 kB / 1.177 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00144/2.081, allocations: 0.5732 MB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/2.081, allocations: 4 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003509/2.084, allocations: 0.6444 MB / 1.178 GB, free: 9.832 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (boiDyn.vol.VWat,boiSte.vol.VWat) * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006241/2.09, allocations: 2.256 MB / 1.18 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004662/2.095, allocations: 1.453 MB / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/2.095, allocations: 0 / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/2.096, allocations: 422.5 kB / 1.182 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/2.099, allocations: 346.3 kB / 1.183 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/2.108, allocations: 3.569 MB / 1.186 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/2.109, allocations: 0.9931 MB / 1.187 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001367/2.11, allocations: 168 kB / 1.187 GB, free: 368 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006431/2.111, allocations: 311.3 kB / 1.188 GB, free: 56 kB / 0.9356 GB Notification: Performance of SimCode: time 1.192e-06/2.111, allocations: 3.938 kB / 1.188 GB, free: 52 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/2.216, allocations: 29.72 MB / 1.217 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000388/2.217, allocations: 293.4 kB / 1.217 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.63/6.846, allocations: 5.766 kB / 1.217 GB, free: 2.453 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) Environment - environmentSimulation: