Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01039/0.01039, allocations: 170.9 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 10.06 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3371, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.1866/0.5238, allocations: 177.1 MB / 1.247 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7799/1.304, allocations: 14.27 MB / 1.261 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/1.306, allocations: 25.03 kB / 1.261 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/1.308, allocations: 410.9 kB / 1.261 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/1.312, allocations: 1.138 MB / 1.263 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/1.318, allocations: 1.285 MB / 1.264 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004395/1.322, allocations: 2.436 MB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/1.323, allocations: 0.5747 MB / 1.267 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009182/1.333, allocations: 2.907 MB / 1.27 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/1.334, allocations: 0.593 MB / 1.27 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/1.335, allocations: 33.38 kB / 1.27 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008429/1.343, allocations: 2.686 MB / 1.273 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004917/1.344, allocations: 165.2 kB / 1.273 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.345, allocations: 498.9 kB / 1.273 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0072/1.352, allocations: 2.485 MB / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.352, allocations: 4.844 kB / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.352, allocations: 0 / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.349e-05/1.352, allocations: 0 / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.004161/1.356, allocations: 1.232 MB / 1.277 GB, free: 20.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.356, allocations: 9.594 kB / 1.277 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.358, allocations: 222.8 kB / 1.277 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.359, allocations: 0.6575 MB / 1.278 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/1.359, allocations: 49.61 kB / 1.278 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.36, allocations: 66.73 kB / 1.278 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/1.361, allocations: 0.6809 MB / 1.279 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/1.361, allocations: 1.312 kB / 1.279 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/1.361, allocations: 25.22 kB / 1.279 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/1.361, allocations: 15.62 kB / 1.279 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.362, allocations: 0.5099 MB / 1.279 GB, free: 20.14 MB / 1.014 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.01961/1.382, allocations: 6.867 MB / 1.286 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/1.383, allocations: 277.4 kB / 1.286 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/1.383, allocations: 191.7 kB / 1.286 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/1.383, allocations: 311.4 kB / 1.287 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/1.384, allocations: 311.8 kB / 1.287 GB, free: 17.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=38): time 3.066e-06/1.384, allocations: 0 / 1.287 GB, free: 17.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.005779/1.39, allocations: 2.321 MB / 1.289 GB, free: 16.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.39, allocations: 194.1 kB / 1.289 GB, free: 16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.391, allocations: 0.799 MB / 1.29 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/1.391, allocations: 37.33 kB / 1.29 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/1.392, allocations: 438.4 kB / 1.291 GB, free: 15.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.392, allocations: 145.7 kB / 1.291 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/1.392, allocations: 50.72 kB / 1.291 GB, free: 15.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.392, allocations: 324.9 kB / 1.291 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/1.392, allocations: 211.7 kB / 1.291 GB, free: 15.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/1.393, allocations: 332.1 kB / 1.292 GB, free: 15.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/1.394, allocations: 0.5372 MB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.394, allocations: 1.125 kB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001768/1.395, allocations: 0.7937 MB / 1.293 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.395, allocations: 182.4 kB / 1.293 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.395, allocations: 2.344 kB / 1.293 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/1.396, allocations: 147.6 kB / 1.293 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/1.397, allocations: 150.4 kB / 1.293 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/1.401, allocations: 4.223 MB / 1.298 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.402, allocations: 88.02 kB / 1.298 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/1.402, allocations: 31.22 kB / 1.298 GB, free: 10.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.402, allocations: 4.344 kB / 1.298 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/1.404, allocations: 0.707 MB / 1.298 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.404, allocations: 6.031 kB / 1.298 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/1.404, allocations: 107.4 kB / 1.299 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/1.405, allocations: 113.3 kB / 1.299 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/1.407, allocations: 3.103 MB / 1.302 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.409, allocations: 65.64 kB / 1.302 GB, free: 8.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/1.409, allocations: 23.62 kB / 1.302 GB, free: 8.066 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007159/1.409, allocations: 348.3 kB / 1.302 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/1.41, allocations: 90.44 kB / 1.302 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.411, allocations: 0.7234 MB / 1.303 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.411, allocations: 5.312 kB / 1.303 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.411, allocations: 3.219 kB / 1.303 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.411, allocations: 0 / 1.303 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/1.414, allocations: 1.651 MB / 1.304 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.414, allocations: 2.344 kB / 1.304 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/1.414, allocations: 84.11 kB / 1.305 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/1.415, allocations: 92.95 kB / 1.305 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/1.415, allocations: 20.66 kB / 1.305 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/1.417, allocations: 2.751 MB / 1.307 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.417, allocations: 2.141 kB / 1.307 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.419, allocations: 0.9144 MB / 1.308 GB, free: 4.355 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/1.419, allocations: 225.8 kB / 1.308 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.42, allocations: 12.84 kB / 1.308 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/1.42, allocations: 38.06 kB / 1.309 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.42, allocations: 32.66 kB / 1.309 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/1.42, allocations: 22.39 kB / 1.309 GB, free: 4.207 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001108/1.421, allocations: 0.5936 MB / 1.309 GB, free: 4.113 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/1.421, allocations: 0 / 1.309 GB, free: 4.113 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003221/1.425, allocations: 0.6448 MB / 1.31 GB, free: 4.074 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (boiDyn.vol.VWat,boiSte.vol.VWat) * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/1.427, allocations: 0.5022 MB / 1.31 GB, free: 3.914 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.43, allocations: 1.463 MB / 1.312 GB, free: 3.332 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.43, allocations: 0 / 1.312 GB, free: 3.332 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/1.43, allocations: 440.7 kB / 1.312 GB, free: 3.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.433, allocations: 390 kB / 1.313 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/1.436, allocations: 1.89 MB / 1.314 GB, free: 2.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/1.436, allocations: 0.9738 MB / 1.315 GB, free: 1.379 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008779/1.437, allocations: 167.1 kB / 1.315 GB, free: 1.328 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/1.438, allocations: 59.77 kB / 1.316 GB, free: 1.32 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.438, allocations: 0 / 1.316 GB, free: 1.32 MB / 1.014 GB Notification: Performance of Templates: time 0.04562/1.483, allocations: 23.24 MB / 1.338 GB, free: 10.39 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1)