Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001132/0.001132, 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.0091/0.0091, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003766, allocations: 9.5 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4102, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.2002/0.6105, allocations: 177.1 MB / 1.247 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7713/1.382, allocations: 14.27 MB / 1.261 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/1.383, allocations: 24.28 kB / 1.261 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/1.385, allocations: 411.1 kB / 1.261 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/1.389, allocations: 1.137 MB / 1.263 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005129/1.394, allocations: 1.282 MB / 1.264 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003566/1.398, allocations: 2.443 MB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.399, allocations: 0.5757 MB / 1.267 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007604/1.407, allocations: 2.903 MB / 1.27 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.408, allocations: 0.5924 MB / 1.27 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/1.409, allocations: 32.59 kB / 1.27 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007478/1.416, allocations: 2.69 MB / 1.273 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/1.417, allocations: 163.5 kB / 1.273 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/1.418, allocations: 496.9 kB / 1.273 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006165/1.424, allocations: 2.486 MB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.424, allocations: 4.938 kB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.424, allocations: 0 / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.81e-05/1.424, allocations: 0 / 1.276 GB, free: 5.34 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.003874/1.428, allocations: 1.23 MB / 1.277 GB, free: 20.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.428, allocations: 10.38 kB / 1.277 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/1.43, allocations: 217.5 kB / 1.277 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.431, allocations: 0.6602 MB / 1.278 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/1.431, allocations: 47.03 kB / 1.278 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.432, allocations: 66.42 kB / 1.278 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/1.433, allocations: 0.6766 MB / 1.279 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/1.433, allocations: 5.5 kB / 1.279 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/1.433, allocations: 28.3 kB / 1.279 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.433, allocations: 15.94 kB / 1.279 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/1.434, allocations: 0.5105 MB / 1.279 GB, free: 20.07 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.01911/1.454, allocations: 6.867 MB / 1.286 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/1.454, allocations: 276.6 kB / 1.286 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/1.454, allocations: 194.3 kB / 1.286 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/1.455, allocations: 310.4 kB / 1.287 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/1.455, allocations: 315.4 kB / 1.287 GB, free: 17.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/1.455, allocations: 0 / 1.287 GB, free: 17.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006151/1.461, allocations: 2.324 MB / 1.289 GB, free: 16.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.462, allocations: 190.8 kB / 1.289 GB, free: 15.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.463, allocations: 0.7993 MB / 1.29 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/1.463, allocations: 40.47 kB / 1.29 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/1.463, allocations: 430.5 kB / 1.291 GB, free: 15.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/1.464, allocations: 143.8 kB / 1.291 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/1.464, allocations: 51.61 kB / 1.291 GB, free: 15.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.464, allocations: 331 kB / 1.291 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/1.464, allocations: 203.8 kB / 1.291 GB, free: 15.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/1.465, allocations: 333.2 kB / 1.292 GB, free: 15.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/1.465, allocations: 0.5333 MB / 1.292 GB, free: 14.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.465, allocations: 1.062 kB / 1.292 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001703/1.467, allocations: 0.7939 MB / 1.293 GB, free: 14.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.467, allocations: 185.3 kB / 1.293 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.467, allocations: 5.969 kB / 1.293 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/1.468, allocations: 142.4 kB / 1.293 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/1.469, allocations: 152.1 kB / 1.293 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/1.473, allocations: 4.226 MB / 1.298 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.474, allocations: 89.19 kB / 1.298 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.474, allocations: 20.72 kB / 1.298 GB, free: 10.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.474, allocations: 8.719 kB / 1.298 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/1.475, allocations: 0.7061 MB / 1.298 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.475, allocations: 8.625 kB / 1.298 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/1.476, allocations: 109.5 kB / 1.299 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/1.476, allocations: 118.8 kB / 1.299 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/1.479, allocations: 3.105 MB / 1.302 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/1.48, allocations: 63.22 kB / 1.302 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/1.48, allocations: 23.44 kB / 1.302 GB, free: 7.992 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.0005272/1.48, allocations: 350.5 kB / 1.302 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/1.481, allocations: 90.45 kB / 1.302 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/1.482, allocations: 0.7193 MB / 1.303 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.482, allocations: 7.656 kB / 1.303 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.482, allocations: 2 kB / 1.303 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.482, allocations: 1.156 kB / 1.303 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/1.484, allocations: 1.647 MB / 1.304 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.484, allocations: 1.062 kB / 1.304 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/1.485, allocations: 84.75 kB / 1.305 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/1.485, allocations: 94.78 kB / 1.305 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.485, allocations: 20.5 kB / 1.305 GB, free: 7.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.488, allocations: 2.754 MB / 1.307 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.488, allocations: 1.344 kB / 1.307 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/1.489, allocations: 0.9123 MB / 1.308 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/1.49, allocations: 226.1 kB / 1.308 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.49, allocations: 13.47 kB / 1.308 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/1.491, allocations: 37.12 kB / 1.309 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/1.491, allocations: 34.42 kB / 1.309 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/1.491, allocations: 20.73 kB / 1.309 GB, free: 4.137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001053/1.492, allocations: 0.5901 MB / 1.309 GB, free: 4.047 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.492, allocations: 0 / 1.309 GB, free: 4.047 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002874/1.495, allocations: 0.6449 MB / 1.31 GB, free: 4.008 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.002618/1.497, allocations: 0.5034 MB / 1.31 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.5, allocations: 1.457 MB / 1.312 GB, free: 3.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.5, allocations: 5.125 kB / 1.312 GB, free: 3.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/1.501, allocations: 432.4 kB / 1.312 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/1.503, allocations: 397.4 kB / 1.313 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/1.506, allocations: 1.893 MB / 1.314 GB, free: 2.023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/1.506, allocations: 0.9722 MB / 1.315 GB, free: 1.312 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008043/1.507, allocations: 158.5 kB / 1.315 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/1.507, allocations: 64.88 kB / 1.316 GB, free: 1.254 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/1.507, allocations: 0 / 1.316 GB, free: 1.254 MB / 1.014 GB Notification: Performance of Templates: time 0.04038/1.548, allocations: 23.24 MB / 1.338 GB, free: 10.34 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1)