Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.77/2.77, allocations: 287.5 MB / 302.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001326, allocations: 182.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 94.41 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.00051, allocations: 11.55 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 1.049/1.285, allocations: 259.6 MB / 1.232 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1236/1.409, allocations: 50.27 MB / 1.281 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01526/1.424, allocations: 266.1 kB / 1.281 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.436, allocations: 1.984 MB / 1.283 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02635/1.463, allocations: 5.401 MB / 1.289 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02374/1.486, allocations: 5.055 MB / 1.293 GB, free: 15.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03012/1.517, allocations: 14.22 MB / 1.307 GB, free: 1.344 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/1.528, allocations: 3.533 MB / 1.311 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01699/1.545, allocations: 4.511 MB / 1.315 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/1.556, allocations: 3.574 MB / 1.319 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002624/1.558, allocations: 200 kB / 1.319 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/1.57, allocations: 2.218 MB / 1.321 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003149/1.574, allocations: 1.042 MB / 1.322 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003421/1.577, allocations: 1.034 MB / 1.323 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/1.591, allocations: 5.895 MB / 1.329 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/1.591, allocations: 4 kB / 1.329 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.986e-06/1.591, allocations: 0 / 1.329 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002984/1.591, allocations: 0 / 1.329 GB, free: 11.21 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 679 * Number of variables: 679 Notification: Performance of Generate backend data structure: time 0.01834/1.61, allocations: 5.161 MB / 1.334 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.61, allocations: 15.97 kB / 1.334 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/1.611, allocations: 371.2 kB / 1.334 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/1.619, allocations: 0.9925 MB / 1.335 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/1.634, allocations: 3.83 MB / 1.339 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001581/1.635, allocations: 358.2 kB / 1.339 GB, free: 324 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.637, allocations: 295.9 kB / 1.34 GB, free: 28 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/1.649, allocations: 3.271 MB / 1.343 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/1.649, allocations: 3.938 kB / 1.343 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007831/1.65, allocations: 112 kB / 1.343 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.65, allocations: 67.98 kB / 1.343 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/1.663, allocations: 2.702 MB / 1.346 GB, free: 9.715 MB / 0.8698 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.04376/1.707, allocations: 18.17 MB / 1.363 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/1.715, allocations: 1.95 MB / 1.365 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/1.72, allocations: 1.079 MB / 1.366 GB, free: 2.863 MB / 0.8855 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.01402/1.734, allocations: 3.881 MB / 1.37 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/1.734, allocations: 51.88 kB / 1.37 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006189/1.74, allocations: 0.8375 MB / 1.371 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.205e-05/1.74, allocations: 0 / 1.371 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.04822/1.788, allocations: 7.651 MB / 1.378 GB, free: 6.129 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002175/1.789, allocations: 300 kB / 1.379 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.8, allocations: 4.003 MB / 1.383 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000628/1.801, allocations: 61.7 kB / 1.383 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003797/1.804, allocations: 2.206 MB / 1.385 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.806, allocations: 0.5238 MB / 1.385 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/1.806, allocations: 47.94 kB / 1.385 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002936/1.806, allocations: 398.2 kB / 1.386 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/1.811, allocations: 0.9686 MB / 1.387 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005749/1.817, allocations: 1.842 MB / 1.389 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.822, allocations: 1.177 MB / 1.39 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/1.822, allocations: 8 kB / 1.39 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01993/1.842, allocations: 3.735 MB / 1.393 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007373/1.843, allocations: 0.6653 MB / 1.394 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.748e-05/1.843, allocations: 20 kB / 1.394 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006251/1.849, allocations: 0.6346 MB / 1.395 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/1.854, allocations: 0.5383 MB / 1.395 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.868, allocations: 5.297 MB / 1.4 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006985/1.875, allocations: 350.2 kB / 1.401 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007514/1.875, allocations: 127.9 kB / 1.401 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.875, allocations: 4 kB / 1.401 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01616/1.892, allocations: 3.149 MB / 1.404 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/1.892, allocations: 23.98 kB / 1.404 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005636/1.897, allocations: 0.5919 MB / 1.404 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/1.902, allocations: 0.5109 MB / 1.405 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.917, allocations: 6.694 MB / 1.412 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006345/1.924, allocations: 332.7 kB / 1.412 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006765/1.924, allocations: 123.9 kB / 1.412 GB, free: 2.293 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (249): * Single equations (assignments): 238 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.003252/1.928, allocations: 0.8752 MB / 1.413 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.929, allocations: 446.4 kB / 1.413 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.943, allocations: 3.021 MB / 1.416 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/1.944, allocations: 20 kB / 1.416 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.944, allocations: 8 kB / 1.416 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01072/1.954, allocations: 2.283 MB / 1.418 GB, free: 11.57 MB / 0.948 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.02268/1.977, allocations: 5.927 MB / 1.424 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.977, allocations: 0 / 1.424 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003775/1.981, allocations: 363.5 kB / 1.425 GB, free: 5.219 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/1.983, allocations: 370.3 kB / 1.425 GB, free: 4.848 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.984, allocations: 51.97 kB / 1.425 GB, free: 4.797 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/1.991, allocations: 4.296 MB / 1.429 GB, free: 220 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.991, allocations: 3.938 kB / 1.429 GB, free: 216 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6826/2.674, allocations: 3.893 MB / 1.433 GB, free: 339.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/2.677, allocations: 0.7412 MB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.679, allocations: 42.48 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006462/2.685, allocations: 306.9 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/2.686, allocations: 122.2 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/2.686, allocations: 67.86 kB / 1.434 GB, free: 339.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00902/2.695, allocations: 2.65 MB / 1.437 GB, free: 338.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.002e-06/2.695, allocations: 0 / 1.437 GB, free: 338.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01323/2.709, allocations: 1.989 MB / 1.439 GB, free: 338.1 MB / 0.948 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.x[1],val.filter.x[2],pumLoa.filter.x[1],pumLoa.filter.x[2],pumBoi.filter.x[1],pumBoi.filter.x[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 (157): * Single equations (assignments): 150 * 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: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02047/2.729, allocations: 5.118 MB / 1.444 GB, free: 336.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01911/2.748, allocations: 4.876 MB / 1.448 GB, free: 334.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.748, allocations: 4.25 kB / 1.449 GB, free: 334.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005531/2.754, allocations: 1.425 MB / 1.45 GB, free: 333.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02158/2.776, allocations: 2.302 MB / 1.452 GB, free: 333.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/2.885, allocations: 32.15 MB / 1.484 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/2.888, allocations: 2.461 MB / 1.486 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008813/2.897, allocations: 0.927 MB / 1.487 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004794/2.902, allocations: 2.036 MB / 1.489 GB, free: 310.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/2.902, allocations: 3.344 kB / 1.489 GB, free: 310.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2835/3.185, allocations: 125.1 MB / 1.611 GB, free: 192.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/3.186, allocations: 231.5 kB / 1.611 GB, free: 192.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/12.74, allocations: 0 / 1.611 GB, free: 192.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.fmu > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)