Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 104 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 191.2 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5495 GB, free: 17.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 71.89 kB / 0.6721 GB, free: 6.617 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 114.6 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.439/0.6637, allocations: 57.21 MB / 0.8399 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.6789, allocations: 10.38 MB / 0.85 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.6823, allocations: 53.31 kB / 0.8501 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.685, allocations: 0.6864 MB / 0.8507 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007422/0.6925, allocations: 1.933 MB / 0.8526 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.6967, allocations: 1.327 MB / 0.8539 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.7028, allocations: 3.612 MB / 0.8575 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.7053, allocations: 1.228 MB / 0.8587 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.7106, allocations: 1.31 MB / 0.8599 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.7136, allocations: 1.027 MB / 0.8609 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.7141, allocations: 128.3 kB / 0.8611 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.7188, allocations: 1.236 MB / 0.8623 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006911/0.7195, allocations: 346.7 kB / 0.8626 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.7212, allocations: 0.7828 MB / 0.8634 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.7272, allocations: 2.378 MB / 0.8657 GB, free: 12.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.7273, allocations: 1.094 kB / 0.8657 GB, free: 12.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7273, allocations: 0 / 0.8657 GB, free: 12.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.953e-05/0.7273, allocations: 0 / 0.8657 GB, free: 12.71 MB / 0.67 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.004199/0.7315, allocations: 1.877 MB / 0.8675 GB, free: 11.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.7316, allocations: 13.5 kB / 0.8675 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.7322, allocations: 167.8 kB / 0.8677 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.7342, allocations: 1.133 MB / 0.8688 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.7343, allocations: 68.81 kB / 0.8689 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.7344, allocations: 99.17 kB / 0.869 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.7362, allocations: 0.9504 MB / 0.8699 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.7363, allocations: 1.75 kB / 0.8699 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.7364, allocations: 41.53 kB / 0.8699 GB, free: 9.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.7364, allocations: 22.47 kB / 0.8699 GB, free: 9.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.7376, allocations: 0.6733 MB / 0.8706 GB, free: 9.434 MB / 0.67 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.006001/0.7436, allocations: 4.109 MB / 0.8746 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.7444, allocations: 392 kB / 0.875 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.7449, allocations: 261.4 kB / 0.8752 GB, free: 5.645 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005059/0.7454, allocations: 0.4992 MB / 0.8757 GB, free: 5.059 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.746, allocations: 358.4 kB / 0.8761 GB, free: 4.809 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/0.746, allocations: 0 / 0.8761 GB, free: 4.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=54): time 0.004204/0.7502, allocations: 1.935 MB / 0.878 GB, free: 3.555 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.7503, allocations: 136.7 kB / 0.8781 GB, free: 3.398 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7518, allocations: 1.105 MB / 0.8792 GB, free: 2.789 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.7519, allocations: 39.89 kB / 0.8792 GB, free: 2.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.7525, allocations: 0.5828 MB / 0.8798 GB, free: 2.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.7527, allocations: 182 kB / 0.8799 GB, free: 2.074 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.7529, allocations: 142.5 kB / 0.8801 GB, free: 1.992 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7531, allocations: 340.6 kB / 0.8804 GB, free: 1.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.7535, allocations: 226.7 kB / 0.8806 GB, free: 1.547 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.7541, allocations: 443.2 kB / 0.881 GB, free: 1.184 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.7551, allocations: 0.6552 MB / 0.8817 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7551, allocations: 1.25 kB / 0.8817 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001697/0.7568, allocations: 0.8915 MB / 0.8826 GB, free: 244 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.7568, allocations: 42.16 kB / 0.8826 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7569, allocations: 4.844 kB / 0.8826 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.7573, allocations: 113.7 kB / 0.8827 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.7577, allocations: 126.3 kB / 0.8828 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.7598, allocations: 2.348 MB / 0.8851 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.7609, allocations: 60.78 kB / 0.8852 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.7609, allocations: 28 kB / 0.8852 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009219/0.7619, allocations: 473.8 kB / 0.8857 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005676/0.7625, allocations: 439.5 kB / 0.8861 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008887/0.7634, allocations: 0.6484 MB / 0.8867 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.7634, allocations: 6.25 kB / 0.8867 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001632/0.765, allocations: 0.8854 MB / 0.8876 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.7651, allocations: 45.25 kB / 0.8876 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7651, allocations: 7.141 kB / 0.8876 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.7655, allocations: 110.6 kB / 0.8877 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.7659, allocations: 125.6 kB / 0.8879 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.7679, allocations: 2.352 MB / 0.8902 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.7691, allocations: 60.88 kB / 0.8902 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.7692, allocations: 31.16 kB / 0.8902 GB, free: 9.723 MB / 0.6856 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 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * 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.0003637/0.7695, allocations: 257.1 kB / 0.8905 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.7698, allocations: 127.8 kB / 0.8906 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.7713, allocations: 0.793 MB / 0.8914 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.7713, allocations: 8.562 kB / 0.8914 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7713, allocations: 1.594 kB / 0.8914 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.7724, allocations: 0.7004 MB / 0.8921 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.7756, allocations: 1.821 MB / 0.8939 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7756, allocations: 10.95 kB / 0.8939 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.776, allocations: 75.17 kB / 0.8939 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.7763, allocations: 101.8 kB / 0.894 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.7764, allocations: 14.94 kB / 0.8941 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.7784, allocations: 2.358 MB / 0.8964 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7785, allocations: 1.719 kB / 0.8964 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.7805, allocations: 1.115 MB / 0.8974 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.7811, allocations: 260.9 kB / 0.8977 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.7813, allocations: 14.62 kB / 0.8977 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.782, allocations: 41.05 kB / 0.8977 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.7821, allocations: 40.17 kB / 0.8978 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.7822, allocations: 26.45 kB / 0.8978 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001214/0.7834, allocations: 0.8229 MB / 0.8986 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7834, allocations: 1.375 kB / 0.8986 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002171/0.7856, allocations: 0.5961 MB / 0.8992 GB, free: 3.301 MB / 0.6856 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.0009947/0.7866, allocations: 419.4 kB / 0.8996 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.7891, allocations: 1.397 MB / 0.901 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7891, allocations: 0 / 0.901 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.7898, allocations: 474.2 kB / 0.9014 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003516/0.7933, allocations: 0.6957 MB / 0.9021 GB, free: 396 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.7971, allocations: 2.054 MB / 0.9041 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.7979, allocations: 1.121 MB / 0.9052 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.7981, allocations: 99.41 kB / 0.9053 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.7982, allocations: 3.938 kB / 0.9053 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of Templates: time 0.04338/0.8415, allocations: 32.04 MB / 0.9366 GB, free: 13.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)