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.34/1.34, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009159/0.0009159, allocations: 184.4 kB / 327.3 MB, free: 2.207 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.637/1.637, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007955/0.0007955, allocations: 87.11 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 10.53 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.0385/0.286, allocations: 52.74 MB / 0.9523 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.2985, allocations: 9.689 MB / 0.9618 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.3007, allocations: 43.69 kB / 0.9618 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.3024, allocations: 0.4931 MB / 0.9623 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.3072, allocations: 1.531 MB / 0.9638 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.3104, allocations: 0.9485 MB / 0.9647 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006102/0.3165, allocations: 4.011 MB / 0.9686 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.3187, allocations: 0.8793 MB / 0.9695 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.3217, allocations: 1.05 MB / 0.9705 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.3239, allocations: 0.9178 MB / 0.9714 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.3244, allocations: 48 kB / 0.9715 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.3274, allocations: 0.8615 MB / 0.9723 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.3279, allocations: 246.9 kB / 0.9726 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008717/0.3288, allocations: 309 kB / 0.9728 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.3317, allocations: 1.707 MB / 0.9745 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3317, allocations: 4 kB / 0.9745 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.067e-06/0.3317, allocations: 0 / 0.9745 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.107e-05/0.3318, allocations: 3.938 kB / 0.9745 GB, free: 4.227 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.003019/0.3348, allocations: 1.61 MB / 0.9761 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3349, allocations: 12.03 kB / 0.9761 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3352, allocations: 166.1 kB / 0.9763 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.3372, allocations: 1.123 MB / 0.9774 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.3373, allocations: 77.98 kB / 0.9774 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3374, allocations: 92 kB / 0.9775 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.339, allocations: 0.941 MB / 0.9784 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.339, allocations: 4 kB / 0.9784 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.3391, allocations: 36 kB / 0.9785 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.3392, allocations: 24.05 kB / 0.9785 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3403, allocations: 0.6597 MB / 0.9791 GB, free: 15.32 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.005208/0.3455, allocations: 4.057 MB / 0.9831 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.3462, allocations: 384.1 kB / 0.9835 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.3466, allocations: 257 kB / 0.9837 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.3471, allocations: 0.4991 MB / 0.9842 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005487/0.3476, allocations: 354.1 kB / 0.9845 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 2.415e-06/0.3476, allocations: 7.938 kB / 0.9846 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003884/0.3515, allocations: 1.93 MB / 0.9864 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.3516, allocations: 137 kB / 0.9866 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.3531, allocations: 1.082 MB / 0.9876 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.3532, allocations: 41.7 kB / 0.9877 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.3537, allocations: 0.578 MB / 0.9882 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.3539, allocations: 181.5 kB / 0.9884 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.354, allocations: 12 kB / 0.9884 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3541, allocations: 334 kB / 0.9887 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3545, allocations: 217.8 kB / 0.9889 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.355, allocations: 437.8 kB / 0.9894 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.3555, allocations: 303.8 kB / 0.9896 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3555, allocations: 0 / 0.9896 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001494/0.357, allocations: 0.8794 MB / 0.9905 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.3572, allocations: 251.9 kB / 0.9907 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3572, allocations: 4 kB / 0.9907 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.3576, allocations: 113.7 kB / 0.9909 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.3581, allocations: 119.8 kB / 0.991 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.3599, allocations: 2.176 MB / 0.9931 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.361, allocations: 87.97 kB / 0.9932 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.3611, allocations: 31.98 kB / 0.9932 GB, free: 60 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.3611, allocations: 4 kB / 0.9932 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/0.3624, allocations: 0.7698 MB / 0.994 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3624, allocations: 7.938 kB / 0.994 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.3627, allocations: 105.6 kB / 0.9941 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.3631, allocations: 128.3 kB / 0.9942 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.3648, allocations: 2.168 MB / 0.9963 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3659, allocations: 95.75 kB / 0.9964 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.366, allocations: 28 kB / 0.9964 GB, free: 12.57 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 (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.0008148/0.3668, allocations: 430.5 kB / 0.9968 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.3671, allocations: 122.5 kB / 0.997 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3686, allocations: 0.7962 MB / 0.9977 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3686, allocations: 12 kB / 0.9977 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3686, allocations: 0 / 0.9977 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009766/0.3696, allocations: 0.6995 MB / 0.9984 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.3726, allocations: 1.779 MB / 1 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3726, allocations: 0 / 1 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.373, allocations: 75.89 kB / 1 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.3733, allocations: 105.8 kB / 1 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.3734, allocations: 15.98 kB / 1 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.3751, allocations: 2.172 MB / 1.002 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3751, allocations: 7.969 kB / 1.002 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.377, allocations: 1.099 MB / 1.004 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.3775, allocations: 271.6 kB / 1.004 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3777, allocations: 12 kB / 1.004 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.3784, allocations: 59.94 kB / 1.004 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.3785, allocations: 47.89 kB / 1.004 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.3786, allocations: 23.98 kB / 1.004 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0011/0.3797, allocations: 0.7447 MB / 1.005 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.446e-06/0.3797, allocations: 0 / 1.005 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001877/0.3816, allocations: 0.5935 MB / 1.005 GB, free: 3.129 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.0007785/0.3824, allocations: 369.9 kB / 1.006 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.3846, allocations: 1.345 MB / 1.007 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3846, allocations: 0 / 1.007 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.3852, allocations: 478.5 kB / 1.007 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.3879, allocations: 0.5912 MB / 1.008 GB, free: 304 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.3916, allocations: 2.441 MB / 1.01 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.3923, allocations: 1.12 MB / 1.011 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.3926, allocations: 87.42 kB / 1.012 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/0.3926, allocations: 0 / 1.012 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of Templates: time 0.04308/0.4357, allocations: 30.63 MB / 1.041 GB, free: 14.05 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)