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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00162/0.00162, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.9 MB / 0.51 GB, free: 4.879 MB / 414.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.0007975/0.0007978, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6024, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04949/0.652, allocations: 47.82 MB / 0.7747 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.6685, allocations: 8.959 MB / 0.7834 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.6713, allocations: 47.69 kB / 0.7835 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.6737, allocations: 0.6219 MB / 0.7841 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007696/0.6814, allocations: 1.835 MB / 0.7859 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.6862, allocations: 1.338 MB / 0.7872 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004775/0.691, allocations: 2.127 MB / 0.7893 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.6926, allocations: 0.8913 MB / 0.7901 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.6948, allocations: 0.938 MB / 0.791 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.6958, allocations: 0.665 MB / 0.7917 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.6959, allocations: 52 kB / 0.7917 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.6984, allocations: 0.7528 MB / 0.7925 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.6987, allocations: 235 kB / 0.7927 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.6991, allocations: 321 kB / 0.793 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.7014, allocations: 1.648 MB / 0.7946 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7015, allocations: 0 / 0.7946 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7015, allocations: 0 / 0.7946 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.7015, allocations: 4 kB / 0.7946 GB, free: 6.977 MB / 0.6075 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.003054/0.7046, allocations: 1.594 MB / 0.7962 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7046, allocations: 8.031 kB / 0.7962 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.705, allocations: 166.1 kB / 0.7963 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.7068, allocations: 1.057 MB / 0.7974 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.7068, allocations: 70 kB / 0.7974 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.707, allocations: 92 kB / 0.7975 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.7086, allocations: 0.9449 MB / 0.7984 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.7086, allocations: 3.938 kB / 0.7985 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.7087, allocations: 36 kB / 0.7985 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.244e-05/0.7087, allocations: 24 kB / 0.7985 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.7099, allocations: 0.6635 MB / 0.7992 GB, free: 2.156 MB / 0.6075 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.005857/0.7157, allocations: 4.081 MB / 0.8031 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.7166, allocations: 424.4 kB / 0.8035 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.7171, allocations: 0.4913 MB / 0.804 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/0.7177, allocations: 350.3 kB / 0.8044 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=52): time 3.116e-06/0.7178, allocations: 4 kB / 0.8044 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54): time 0.004119/0.7219, allocations: 2.014 MB / 0.8063 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.722, allocations: 133 kB / 0.8065 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7236, allocations: 1.125 MB / 0.8076 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.7236, allocations: 37.7 kB / 0.8076 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/0.7242, allocations: 0.578 MB / 0.8082 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.7244, allocations: 185.4 kB / 0.8083 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.7244, allocations: 12 kB / 0.8083 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.7246, allocations: 333.9 kB / 0.8087 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.725, allocations: 217.9 kB / 0.8089 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.7255, allocations: 434.2 kB / 0.8093 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.726, allocations: 303.8 kB / 0.8096 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.726, allocations: 0 / 0.8096 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001455/0.7275, allocations: 0.8757 MB / 0.8104 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009231/0.7284, allocations: 1.713 MB / 0.8121 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7284, allocations: 4 kB / 0.8121 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.7289, allocations: 109.6 kB / 0.8122 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.7294, allocations: 127.8 kB / 0.8123 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.7313, allocations: 2.188 MB / 0.8145 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.7324, allocations: 94.05 kB / 0.8146 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.7325, allocations: 43.92 kB / 0.8146 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.7325, allocations: 4 kB / 0.8146 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.7338, allocations: 0.7663 MB / 0.8154 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7338, allocations: 11.95 kB / 0.8154 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/0.7341, allocations: 93.67 kB / 0.8155 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.7345, allocations: 127.8 kB / 0.8156 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.7362, allocations: 2.188 MB / 0.8177 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7373, allocations: 87.84 kB / 0.8178 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.7373, allocations: 32.36 kB / 0.8178 GB, free: 13.92 MB / 0.6387 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.0007751/0.7381, allocations: 422.6 kB / 0.8182 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.7383, allocations: 122.6 kB / 0.8183 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.7396, allocations: 0.8001 MB / 0.8191 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7396, allocations: 8 kB / 0.8191 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7396, allocations: 0 / 0.8191 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009252/0.7405, allocations: 0.6957 MB / 0.8198 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.7432, allocations: 1.802 MB / 0.8216 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7432, allocations: 4.156 kB / 0.8216 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.7436, allocations: 71.89 kB / 0.8216 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.7439, allocations: 105.6 kB / 0.8217 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.744, allocations: 16 kB / 0.8218 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.7456, allocations: 2.188 MB / 0.8239 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7456, allocations: 3.938 kB / 0.8239 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.7472, allocations: 1.169 MB / 0.825 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.7478, allocations: 283.5 kB / 0.8253 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.7479, allocations: 12 kB / 0.8253 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.7486, allocations: 56 kB / 0.8254 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.7487, allocations: 43.91 kB / 0.8254 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.7488, allocations: 23.98 kB / 0.8254 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001061/0.7498, allocations: 0.7759 MB / 0.8262 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7499, allocations: 0 / 0.8262 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001877/0.7517, allocations: 0.6014 MB / 0.8268 GB, free: 4.316 MB / 0.6387 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.0008203/0.7526, allocations: 413.8 kB / 0.8272 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.7548, allocations: 1.352 MB / 0.8285 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7549, allocations: 0.5 kB / 0.8285 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.7555, allocations: 490.5 kB / 0.829 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.7582, allocations: 0.5643 MB / 0.8295 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.7621, allocations: 2.385 MB / 0.8319 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7628, allocations: 1.148 MB / 0.833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009519/0.7638, allocations: 221.5 kB / 0.8332 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.764, allocations: 87.41 kB / 0.8333 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.683e-06/0.764, allocations: 0 / 0.8333 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.04325/0.8072, allocations: 23.73 MB / 0.8564 GB, free: 6.141 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: