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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001526/0.001526, allocations: 188.5 kB / 376.9 MB, free: 1.816 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.62/1.62, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 96.05 kB / 0.7479 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 55.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.7692/1.041, allocations: 56.85 MB / 1.038 GB, free: 71.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0158/1.057, allocations: 10.47 MB / 1.048 GB, free: 70.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/1.059, allocations: 49.38 kB / 1.048 GB, free: 70.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/1.062, allocations: 0.5633 MB / 1.049 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007394/1.069, allocations: 1.794 MB / 1.05 GB, free: 70 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004742/1.074, allocations: 1.2 MB / 1.051 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009483/1.084, allocations: 4.686 MB / 1.056 GB, free: 69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/1.087, allocations: 1.02 MB / 1.057 GB, free: 68.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/1.091, allocations: 1.132 MB / 1.058 GB, free: 68.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/1.094, allocations: 1.032 MB / 1.059 GB, free: 68.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004287/1.094, allocations: 64.97 kB / 1.059 GB, free: 68.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/1.099, allocations: 1.148 MB / 1.06 GB, free: 67.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/1.1, allocations: 285.2 kB / 1.061 GB, free: 67.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001902/1.102, allocations: 0.719 MB / 1.061 GB, free: 67.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005013/1.107, allocations: 2.332 MB / 1.064 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.107, allocations: 3.562 kB / 1.064 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.107, allocations: 0 / 1.064 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.612e-05/1.107, allocations: 0 / 1.064 GB, free: 66.3 MB / 0.7448 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.004014/1.111, allocations: 1.877 MB / 1.065 GB, free: 65.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.111, allocations: 10.61 kB / 1.065 GB, free: 65.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/1.112, allocations: 168 kB / 1.066 GB, free: 64.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/1.114, allocations: 1.166 MB / 1.067 GB, free: 64.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/1.114, allocations: 77.42 kB / 1.067 GB, free: 64.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/1.114, allocations: 94.05 kB / 1.067 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.115, allocations: 0.9564 MB / 1.068 GB, free: 63.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.116, allocations: 8.875 kB / 1.068 GB, free: 63.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/1.116, allocations: 37.81 kB / 1.068 GB, free: 63.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/1.116, allocations: 22.69 kB / 1.068 GB, free: 63.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.117, allocations: 0.6712 MB / 1.069 GB, free: 63.41 MB / 0.7448 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.004875/1.122, allocations: 4.063 MB / 1.073 GB, free: 60.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/1.122, allocations: 383.4 kB / 1.073 GB, free: 60.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/1.123, allocations: 263.8 kB / 1.073 GB, free: 60.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/1.123, allocations: 0.4989 MB / 1.074 GB, free: 59.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/1.123, allocations: 357.6 kB / 1.074 GB, free: 59.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/1.123, allocations: 5.719 kB / 1.074 GB, free: 59.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54): time 0.003788/1.127, allocations: 1.934 MB / 1.076 GB, free: 58.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.127, allocations: 138.8 kB / 1.076 GB, free: 58.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.129, allocations: 1.085 MB / 1.077 GB, free: 57.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/1.129, allocations: 36.92 kB / 1.077 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/1.129, allocations: 0.5878 MB / 1.078 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.129, allocations: 180.7 kB / 1.078 GB, free: 57.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.129, allocations: 154.8 kB / 1.078 GB, free: 57.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/1.13, allocations: 335.1 kB / 1.078 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/1.13, allocations: 223.5 kB / 1.079 GB, free: 56.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/1.13, allocations: 444 kB / 1.079 GB, free: 56.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/1.131, allocations: 0.6553 MB / 1.08 GB, free: 55.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.131, allocations: 3.25 kB / 1.08 GB, free: 55.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001357/1.133, allocations: 0.8881 MB / 1.08 GB, free: 55.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/1.133, allocations: 42.45 kB / 1.08 GB, free: 55.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.133, allocations: 6.031 kB / 1.08 GB, free: 55.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/1.133, allocations: 111.3 kB / 1.081 GB, free: 55.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/1.133, allocations: 122.1 kB / 1.081 GB, free: 55.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/1.135, allocations: 2.18 MB / 1.083 GB, free: 53.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.136, allocations: 86.08 kB / 1.083 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/1.136, allocations: 36.86 kB / 1.083 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007504/1.137, allocations: 478.7 kB / 1.083 GB, free: 53.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004497/1.137, allocations: 434.6 kB / 1.084 GB, free: 52.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007803/1.138, allocations: 0.6421 MB / 1.084 GB, free: 52.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/1.138, allocations: 7.875 kB / 1.084 GB, free: 52.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001321/1.139, allocations: 0.8824 MB / 1.085 GB, free: 52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.14, allocations: 46.16 kB / 1.085 GB, free: 51.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.14, allocations: 3.656 kB / 1.085 GB, free: 51.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/1.14, allocations: 108.3 kB / 1.085 GB, free: 51.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/1.14, allocations: 121.5 kB / 1.086 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/1.142, allocations: 2.179 MB / 1.088 GB, free: 49.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.143, allocations: 100.5 kB / 1.088 GB, free: 49.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/1.143, allocations: 35.7 kB / 1.088 GB, free: 49.8 MB / 0.7448 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.0002863/1.143, allocations: 260.1 kB / 1.088 GB, free: 49.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.143, allocations: 124 kB / 1.088 GB, free: 49.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.145, allocations: 0.8051 MB / 1.089 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.145, allocations: 6.594 kB / 1.089 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.145, allocations: 0 / 1.089 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008246/1.145, allocations: 0.6992 MB / 1.09 GB, free: 48.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/1.149, allocations: 1.819 MB / 1.091 GB, free: 47.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.149, allocations: 0 / 1.091 GB, free: 47.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/1.149, allocations: 76.56 kB / 1.092 GB, free: 47.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/1.149, allocations: 98.72 kB / 1.092 GB, free: 47.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/1.149, allocations: 17.83 kB / 1.092 GB, free: 47.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/1.151, allocations: 2.181 MB / 1.094 GB, free: 45.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.151, allocations: 3.062 kB / 1.094 GB, free: 45.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009436/1.16, allocations: 6.669 MB / 1.1 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/1.161, allocations: 255.6 kB / 1.101 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.161, allocations: 18.44 kB / 1.101 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/1.162, allocations: 72.61 kB / 1.101 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.162, allocations: 44.53 kB / 1.101 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/1.162, allocations: 27.25 kB / 1.101 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000996/1.163, allocations: 0.819 MB / 1.101 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/1.163, allocations: 0 / 1.101 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002879/1.166, allocations: 0.895 MB / 1.102 GB, free: 40.49 MB / 0.7448 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.0009997/1.167, allocations: 387.9 kB / 1.103 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00239/1.169, allocations: 1.363 MB / 1.104 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.169, allocations: 0 / 1.104 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/1.17, allocations: 479 kB / 1.105 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.173, allocations: 0.6921 MB / 1.105 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/1.177, allocations: 2.967 MB / 1.108 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/1.178, allocations: 1.149 MB / 1.109 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001231/1.179, allocations: 231.8 kB / 1.109 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.179, allocations: 94.59 kB / 1.11 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of SimCode: time 1.282e-06/1.179, allocations: 0 / 1.11 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.05102/1.23, allocations: 27.73 MB / 1.137 GB, free: 34.06 MB / 0.7448 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)