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: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 268 MB, free: 10.87 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.0009698/0.0009699, allocations: 179.1 kB / 327.6 MB, free: 2.117 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.744/1.744, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.001046/0.001046, allocations: 90.34 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 10.41 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04079/0.2495, allocations: 55.78 MB / 0.9559 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.2622, allocations: 10.32 MB / 0.966 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.2644, allocations: 47.69 kB / 0.966 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.2666, allocations: 0.5595 MB / 0.9666 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005753/0.2724, allocations: 1.789 MB / 0.9683 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.2759, allocations: 1.17 MB / 0.9695 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005925/0.2818, allocations: 4.653 MB / 0.974 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.2838, allocations: 0.997 MB / 0.975 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.2864, allocations: 1.093 MB / 0.9761 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.2883, allocations: 0.9836 MB / 0.977 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.2887, allocations: 52 kB / 0.9771 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.2917, allocations: 1.13 MB / 0.9782 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.2922, allocations: 258.8 kB / 0.9784 GB, free: 444 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.2935, allocations: 0.705 MB / 0.9791 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.2963, allocations: 1.762 MB / 0.9808 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2963, allocations: 4 kB / 0.9808 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2963, allocations: 0 / 0.9808 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.972e-05/0.2964, allocations: 4 kB / 0.9808 GB, free: 13.95 MB / 0.6355 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.003346/0.2997, allocations: 1.598 MB / 0.9824 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2998, allocations: 8.031 kB / 0.9824 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.3003, allocations: 167.1 kB / 0.9826 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.3026, allocations: 1.166 MB / 0.9837 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.3026, allocations: 66 kB / 0.9838 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.3028, allocations: 92 kB / 0.9839 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.3046, allocations: 0.9528 MB / 0.9848 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3046, allocations: 0 / 0.9848 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.3047, allocations: 36 kB / 0.9848 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.3048, allocations: 31.94 kB / 0.9849 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.3061, allocations: 0.6753 MB / 0.9855 GB, free: 8.992 MB / 0.6355 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.005636/0.3117, allocations: 4.061 MB / 0.9895 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.3124, allocations: 381.3 kB / 0.9898 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.3128, allocations: 268.6 kB / 0.9901 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.3133, allocations: 0.5031 MB / 0.9906 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.3138, allocations: 346 kB / 0.9909 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 1.904e-06/0.3139, allocations: 0 / 0.9909 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.00406/0.3179, allocations: 1.938 MB / 0.9928 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.318, allocations: 141 kB / 0.993 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.3197, allocations: 1.09 MB / 0.994 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.3197, allocations: 37.7 kB / 0.9941 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.3203, allocations: 0.5857 MB / 0.9946 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3205, allocations: 181.4 kB / 0.9948 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3205, allocations: 19.94 kB / 0.9948 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3206, allocations: 333.9 kB / 0.9951 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.321, allocations: 221.9 kB / 0.9953 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.3216, allocations: 441.8 kB / 0.9958 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.3225, allocations: 0.6546 MB / 0.9964 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3225, allocations: 0 / 0.9964 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001526/0.3241, allocations: 0.8875 MB / 0.9973 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.3243, allocations: 249.2 kB / 0.9975 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3243, allocations: 4 kB / 0.9975 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.3247, allocations: 113.6 kB / 0.9976 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.3251, allocations: 123.8 kB / 0.9977 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.327, allocations: 2.176 MB / 0.9999 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.328, allocations: 96 kB / 1 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.3281, allocations: 32 kB / 1 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.3281, allocations: 4 kB / 1 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/0.3294, allocations: 0.7816 MB / 1.001 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3294, allocations: 4 kB / 1.001 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.3297, allocations: 101.7 kB / 1.001 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.3301, allocations: 115.8 kB / 1.001 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.3318, allocations: 2.18 MB / 1.003 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.3328, allocations: 87.98 kB / 1.003 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.3329, allocations: 35.97 kB / 1.003 GB, free: 5.762 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006483/0.3335, allocations: 430.5 kB / 1.004 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.3338, allocations: 118.6 kB / 1.004 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.3351, allocations: 0.7961 MB / 1.005 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3351, allocations: 8 kB / 1.005 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3351, allocations: 0 / 1.005 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009513/0.3361, allocations: 0.7034 MB / 1.005 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.3389, allocations: 1.817 MB / 1.007 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3389, allocations: 4.125 kB / 1.007 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.3393, allocations: 79.89 kB / 1.007 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/0.3396, allocations: 93.66 kB / 1.007 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3397, allocations: 19.98 kB / 1.007 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.3414, allocations: 2.18 MB / 1.009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3414, allocations: 3.938 kB / 1.009 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3431, allocations: 1.112 MB / 1.01 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.3436, allocations: 279.5 kB / 1.011 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.3439, allocations: 16 kB / 1.011 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.3447, allocations: 67.83 kB / 1.011 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.3448, allocations: 39.89 kB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.3449, allocations: 27.98 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001193/0.3461, allocations: 0.8051 MB / 1.012 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3461, allocations: 0 / 1.012 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001866/0.348, allocations: 0.5898 MB / 1.012 GB, free: 12.2 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009393/0.3489, allocations: 407.9 kB / 1.013 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.3512, allocations: 1.345 MB / 1.014 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3512, allocations: 0 / 1.014 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.3519, allocations: 487.2 kB / 1.014 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.3556, allocations: 0.7124 MB / 1.015 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.3596, allocations: 2.51 MB / 1.017 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/0.3605, allocations: 1.125 MB / 1.019 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3608, allocations: 99.41 kB / 1.019 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of SimCode: time 2.204e-06/0.3608, allocations: 0 / 1.019 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of Templates: time 0.04242/0.4032, allocations: 31.71 MB / 1.05 GB, free: 5.801 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)