Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 177.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 92.11 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 9.062 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.03506/0.235, allocations: 47.82 MB / 0.9468 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2476, allocations: 8.974 MB / 0.9556 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.2497, allocations: 47.69 kB / 0.9557 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.2518, allocations: 0.618 MB / 0.9563 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.2578, allocations: 1.833 MB / 0.9581 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.2619, allocations: 1.332 MB / 0.9594 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003706/0.2656, allocations: 2.135 MB / 0.9614 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.2667, allocations: 0.8913 MB / 0.9623 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.2686, allocations: 0.942 MB / 0.9632 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008511/0.2694, allocations: 0.6649 MB / 0.9639 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2696, allocations: 48 kB / 0.9639 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.2715, allocations: 0.7567 MB / 0.9647 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.2718, allocations: 239 kB / 0.9649 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.2722, allocations: 313 kB / 0.9652 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.274, allocations: 1.648 MB / 0.9668 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2741, allocations: 0 / 0.9668 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2741, allocations: 0 / 0.9668 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.2741, allocations: 0 / 0.9668 GB, free: 11.41 MB / 0.6198 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.002749/0.2768, allocations: 1.597 MB / 0.9684 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2769, allocations: 8.031 kB / 0.9684 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.2771, allocations: 135.5 kB / 0.9685 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.2774, allocations: 166.1 kB / 0.9687 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.2792, allocations: 1.069 MB / 0.9697 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.2793, allocations: 77.94 kB / 0.9698 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.2794, allocations: 88 kB / 0.9699 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2809, allocations: 0.9371 MB / 0.9708 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.281, allocations: 3.938 kB / 0.9708 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.2811, allocations: 36 kB / 0.9708 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.2811, allocations: 24 kB / 0.9708 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2822, allocations: 0.6597 MB / 0.9715 GB, free: 6.434 MB / 0.6198 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.005568/0.2878, allocations: 4.085 MB / 0.9755 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.2887, allocations: 416.5 kB / 0.9759 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/0.2892, allocations: 0.4992 MB / 0.9763 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.2898, allocations: 350 kB / 0.9767 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.286e-06/0.2898, allocations: 4 kB / 0.9767 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54): time 0.004344/0.2941, allocations: 1.998 MB / 0.9786 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2943, allocations: 148.9 kB / 0.9788 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.2959, allocations: 1.125 MB / 0.9799 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.296, allocations: 45.7 kB / 0.9799 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.2967, allocations: 0.5741 MB / 0.9805 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.2969, allocations: 181.4 kB / 0.9807 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.2969, allocations: 16 kB / 0.9807 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2971, allocations: 337.9 kB / 0.981 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.2975, allocations: 209.8 kB / 0.9812 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.2981, allocations: 434.9 kB / 0.9816 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.2986, allocations: 299.8 kB / 0.9819 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2986, allocations: 0 / 0.9819 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001588/0.3002, allocations: 0.8794 MB / 0.9828 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007758/0.301, allocations: 1.705 MB / 0.9844 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.301, allocations: 4 kB / 0.9844 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.3014, allocations: 117.6 kB / 0.9845 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.3019, allocations: 127.8 kB / 0.9847 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.3041, allocations: 2.188 MB / 0.9868 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3052, allocations: 91.83 kB / 0.9869 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.3053, allocations: 31.98 kB / 0.9869 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.3053, allocations: 4 kB / 0.9869 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/0.3066, allocations: 0.7699 MB / 0.9877 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3066, allocations: 4 kB / 0.9877 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.3069, allocations: 105.7 kB / 0.9878 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.3073, allocations: 119.8 kB / 0.9879 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.3091, allocations: 2.188 MB / 0.99 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009939/0.3101, allocations: 83.84 kB / 0.9901 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.3102, allocations: 35.98 kB / 0.9901 GB, free: 2.199 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (73): * Single equations (assignments): 70 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007149/0.3109, allocations: 434.5 kB / 0.9906 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.3111, allocations: 118.6 kB / 0.9907 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3124, allocations: 0.7962 MB / 0.9914 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3125, allocations: 4 kB / 0.9914 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3125, allocations: 0 / 0.9914 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009765/0.3135, allocations: 0.6996 MB / 0.9921 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3162, allocations: 1.806 MB / 0.9939 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3162, allocations: 0 / 0.9939 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.3166, allocations: 75.89 kB / 0.994 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.3169, allocations: 101.6 kB / 0.9941 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.3169, allocations: 15.98 kB / 0.9941 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.3187, allocations: 2.188 MB / 0.9962 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3188, allocations: 0 / 0.9962 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3205, allocations: 1.174 MB / 0.9974 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.321, allocations: 279.5 kB / 0.9976 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.3212, allocations: 20.06 kB / 0.9976 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.3219, allocations: 55.94 kB / 0.9977 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.322, allocations: 39.89 kB / 0.9977 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.322, allocations: 23.98 kB / 0.9978 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001168/0.3232, allocations: 0.7876 MB / 0.9985 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3232, allocations: 0 / 0.9985 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001916/0.3251, allocations: 0.5975 MB / 0.9991 GB, free: 8.582 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 34 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/0.3281, allocations: 2.346 MB / 1.001 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.3304, allocations: 1.336 MB / 1.003 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3304, allocations: 3.938 kB / 1.003 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.3311, allocations: 483.9 kB / 1.003 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.3337, allocations: 0.5679 MB / 1.004 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.3395, allocations: 5.831 MB / 1.009 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.3403, allocations: 1.148 MB / 1.011 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009858/0.3413, allocations: 225.5 kB / 1.011 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/0.3419, allocations: 455.3 kB / 1.011 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/0.3419, allocations: 0 / 1.011 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/0.4046, allocations: 33.97 MB / 1.044 GB, free: 10.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.4049, allocations: 264.4 kB / 1.045 GB, free: 9.934 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.376/3.781, allocations: 3.938 kB / 1.045 GB, free: 9.93 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)