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 1.636/1.636, allocations: 287.4 MB / 302.6 MB, free: 8.305 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.0008293/0.0008293, allocations: 174.1 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007913/0.0007912, allocations: 109.4 kB / 0.7431 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003805, allocations: 9.969 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.6532/0.8356, allocations: 259.7 MB / 1.232 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.06736/0.903, allocations: 50.26 MB / 1.281 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009134/0.9121, allocations: 270.1 kB / 1.282 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.007119/0.9193, allocations: 1.988 MB / 1.284 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.9351, allocations: 5.385 MB / 1.289 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.9509, allocations: 5.059 MB / 1.294 GB, free: 15.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01848/0.9694, allocations: 14.33 MB / 1.308 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007119/0.9765, allocations: 3.869 MB / 1.312 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.9877, allocations: 4.518 MB / 1.316 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.9946, allocations: 3.574 MB / 1.319 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.996, allocations: 203.9 kB / 1.32 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007232/1.003, allocations: 2.215 MB / 1.322 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/1.006, allocations: 1.039 MB / 1.323 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/1.008, allocations: 1.042 MB / 1.324 GB, free: 332 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009683/1.018, allocations: 5.887 MB / 1.33 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.018, allocations: 4 kB / 1.33 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/1.018, allocations: 0 / 1.33 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001975/1.018, allocations: 0 / 1.33 GB, free: 10.42 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.01113/1.029, allocations: 5.118 MB / 1.335 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.029, allocations: 8.031 kB / 1.335 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009415/1.03, allocations: 371.3 kB / 1.335 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/1.034, allocations: 0.9925 MB / 1.336 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008261/1.042, allocations: 4.008 MB / 1.34 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/1.043, allocations: 362.1 kB / 1.34 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/1.044, allocations: 295.9 kB / 1.341 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/1.049, allocations: 3.271 MB / 1.344 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/1.049, allocations: 0 / 1.344 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/1.05, allocations: 112 kB / 1.344 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/1.05, allocations: 67.94 kB / 1.344 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00557/1.055, allocations: 2.702 MB / 1.347 GB, free: 8.797 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.02307/1.078, allocations: 18.18 MB / 1.364 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/1.082, allocations: 1.942 MB / 1.366 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/1.085, allocations: 1.079 MB / 1.367 GB, free: 1.945 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.007723/1.092, allocations: 3.885 MB / 1.371 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.092, allocations: 51.88 kB / 1.371 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003206/1.096, allocations: 0.8413 MB / 1.372 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.264e-05/1.096, allocations: 0 / 1.372 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.02487/1.121, allocations: 7.659 MB / 1.379 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.121, allocations: 307.9 kB / 1.38 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007364/1.128, allocations: 4.003 MB / 1.384 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004474/1.129, allocations: 65.7 kB / 1.384 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/1.131, allocations: 2.214 MB / 1.386 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000805/1.132, allocations: 0.5161 MB / 1.386 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.132, allocations: 40 kB / 1.386 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.132, allocations: 390.4 kB / 1.387 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/1.135, allocations: 0.9725 MB / 1.388 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/1.138, allocations: 1.838 MB / 1.389 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005396/1.143, allocations: 2.619 MB / 1.392 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.143, allocations: 4 kB / 1.392 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01044/1.154, allocations: 3.735 MB / 1.396 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004968/1.154, allocations: 0.6617 MB / 1.396 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/1.154, allocations: 23.98 kB / 1.396 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/1.157, allocations: 0.6345 MB / 1.397 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/1.16, allocations: 0.5422 MB / 1.397 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008192/1.168, allocations: 5.289 MB / 1.403 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004682/1.173, allocations: 358 kB / 1.403 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/1.173, allocations: 131.9 kB / 1.403 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.173, allocations: 4 kB / 1.403 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009379/1.183, allocations: 3.141 MB / 1.406 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-05/1.183, allocations: 24 kB / 1.406 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/1.186, allocations: 0.5922 MB / 1.407 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/1.188, allocations: 0.5187 MB / 1.407 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009383/1.198, allocations: 6.702 MB / 1.414 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/1.202, allocations: 332.9 kB / 1.414 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005544/1.203, allocations: 119.9 kB / 1.414 GB, free: 15.65 MB / 0.948 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.002483/1.205, allocations: 0.8753 MB / 1.415 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.206, allocations: 450.3 kB / 1.416 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007859/1.214, allocations: 3.005 MB / 1.418 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/1.214, allocations: 16 kB / 1.418 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/1.214, allocations: 7.984 kB / 1.419 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005297/1.22, allocations: 2.279 MB / 1.421 GB, free: 8.953 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.01366/1.233, allocations: 5.934 MB / 1.427 GB, free: 2.949 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.233, allocations: 4 kB / 1.427 GB, free: 2.945 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.235, allocations: 367.5 kB / 1.427 GB, free: 2.586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/1.237, allocations: 362.1 kB / 1.427 GB, free: 2.223 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.237, allocations: 51.95 kB / 1.427 GB, free: 2.172 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4252/1.662, allocations: 4.29 MB / 1.431 GB, free: 337.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.662, allocations: 5.094 kB / 1.431 GB, free: 337.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.672, allocations: 3.901 MB / 1.435 GB, free: 337.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.675, allocations: 0.745 MB / 1.436 GB, free: 337.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.676, allocations: 37.33 kB / 1.436 GB, free: 337.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/1.68, allocations: 305.4 kB / 1.436 GB, free: 337.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.68, allocations: 118 kB / 1.436 GB, free: 337 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.68, allocations: 77.97 kB / 1.437 GB, free: 337 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0056/1.686, allocations: 2.644 MB / 1.439 GB, free: 336.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/1.686, allocations: 0 / 1.439 GB, free: 336.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01061/1.697, allocations: 1.99 MB / 1.441 GB, free: 335.9 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.01199/1.709, allocations: 5.122 MB / 1.446 GB, free: 334 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.72, allocations: 4.882 MB / 1.451 GB, free: 331.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.72, allocations: 1.344 kB / 1.451 GB, free: 331.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/1.723, allocations: 1.412 MB / 1.452 GB, free: 331.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/1.737, allocations: 2.266 MB / 1.454 GB, free: 330.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08142/1.819, allocations: 32.16 MB / 1.486 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.822, allocations: 2.455 MB / 1.488 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005769/1.827, allocations: 0.932 MB / 1.489 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003093/1.83, allocations: 2.039 MB / 1.491 GB, free: 307.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/1.83, allocations: 0 / 1.491 GB, free: 307.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4969/2.327, allocations: 125.2 MB / 1.613 GB, free: 189.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/2.328, allocations: 227.7 kB / 1.614 GB, free: 189.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.951/8.279, allocations: 0 / 1.614 GB, free: 189.2 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)