Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 109.7 kB / 16.37 MB, free: 6.309 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.001145/0.001145, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.671/1.671, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001419/0.001419, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2515, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7578/1.009, allocations: 280.9 MB / 1.059 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.08833/1.098, allocations: 53.34 MB / 1.111 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/1.114, allocations: 310.1 kB / 1.112 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01127/1.125, allocations: 2.935 MB / 1.114 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02904/1.154, allocations: 6.76 MB / 1.121 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02088/1.175, allocations: 6.64 MB / 1.127 GB, free: 10.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.7897/1.965, allocations: 12.49 MB / 1.14 GB, free: 67.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009525/1.975, allocations: 4.788 MB / 1.144 GB, free: 67.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/1.992, allocations: 5.601 MB / 1.15 GB, free: 67.12 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/2.005, allocations: 3.876 MB / 1.154 GB, free: 66.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003899/2.009, allocations: 463.2 kB / 1.154 GB, free: 66.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/2.024, allocations: 3.056 MB / 1.157 GB, free: 66.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00466/2.029, allocations: 1.353 MB / 1.158 GB, free: 66.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/2.04, allocations: 2.849 MB / 1.161 GB, free: 65.89 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02087/2.061, allocations: 8.009 MB / 1.169 GB, free: 65.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/2.061, allocations: 1.188 kB / 1.169 GB, free: 65.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.013e-06/2.061, allocations: 0 / 1.169 GB, free: 65.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003487/2.061, allocations: 0 / 1.169 GB, free: 65.03 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 679 * Number of variables: 679 Notification: Performance of Generate backend data structure: time 0.02239/2.083, allocations: 6.068 MB / 1.175 GB, free: 62.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/2.083, allocations: 9.188 kB / 1.175 GB, free: 62.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/2.09, allocations: 0.9447 MB / 1.176 GB, free: 62.11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/2.105, allocations: 4.084 MB / 1.18 GB, free: 61.13 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/2.105, allocations: 223 kB / 1.18 GB, free: 61.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/2.106, allocations: 295.1 kB / 1.18 GB, free: 61.12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/2.114, allocations: 3.201 MB / 1.183 GB, free: 60.7 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/2.114, allocations: 2.312 kB / 1.183 GB, free: 60.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/2.115, allocations: 110.8 kB / 1.184 GB, free: 60.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.691e-05/2.115, allocations: 78.41 kB / 1.184 GB, free: 60.69 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007076/2.122, allocations: 2.572 MB / 1.186 GB, free: 60.64 MB / 0.92 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.03072/2.152, allocations: 18.06 MB / 1.204 GB, free: 50.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/2.156, allocations: 1.787 MB / 1.205 GB, free: 50.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/2.158, allocations: 0.9955 MB / 1.206 GB, free: 50.04 MB / 0.92 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 evalFunc (simulation): time 0.009021/2.167, allocations: 3.737 MB / 1.21 GB, free: 48.87 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/2.167, allocations: 52.56 kB / 1.21 GB, free: 48.83 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00345/2.171, allocations: 391.5 kB / 1.211 GB, free: 48.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=140): time 1.271e-05/2.171, allocations: 4 kB / 1.211 GB, free: 48.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=145): time 0.03334/2.204, allocations: 8.35 MB / 1.219 GB, free: 47.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/2.204, allocations: 250.6 kB / 1.219 GB, free: 46.9 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/2.212, allocations: 4.013 MB / 1.223 GB, free: 46.56 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007735/2.213, allocations: 68.28 kB / 1.223 GB, free: 46.53 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/2.215, allocations: 2.222 MB / 1.225 GB, free: 45.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000795/2.216, allocations: 0.5087 MB / 1.226 GB, free: 45.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/2.217, allocations: 0.4986 MB / 1.226 GB, free: 45.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/2.217, allocations: 307.4 kB / 1.226 GB, free: 45.28 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/2.219, allocations: 0.9617 MB / 1.227 GB, free: 45.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/2.221, allocations: 1.813 MB / 1.229 GB, free: 44.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/2.226, allocations: 2.582 MB / 1.232 GB, free: 43.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/2.226, allocations: 8.25 kB / 1.232 GB, free: 43.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.01382/2.239, allocations: 4.226 MB / 1.236 GB, free: 43.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/2.239, allocations: 16.34 kB / 1.236 GB, free: 43.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.734e-05/2.24, allocations: 25.8 kB / 1.236 GB, free: 43.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006939/2.246, allocations: 1.244 MB / 1.237 GB, free: 42.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/2.249, allocations: 0.4965 MB / 1.237 GB, free: 42.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/2.261, allocations: 7.104 MB / 1.244 GB, free: 38.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/2.267, allocations: 169.5 kB / 1.245 GB, free: 38.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007706/2.267, allocations: 131.5 kB / 1.245 GB, free: 38.81 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004791/2.272, allocations: 1.566 MB / 1.246 GB, free: 38.55 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002246/2.275, allocations: 1.751 MB / 1.248 GB, free: 37.36 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003816/2.278, allocations: 2.473 MB / 1.25 GB, free: 36.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/2.278, allocations: 8.438 kB / 1.25 GB, free: 36.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=283) (initialization_lambda0): time 0.01283/2.291, allocations: 4.068 MB / 1.254 GB, free: 35.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/2.291, allocations: 17.06 kB / 1.254 GB, free: 35.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/2.291, allocations: 29.33 kB / 1.254 GB, free: 35.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/2.298, allocations: 1.185 MB / 1.256 GB, free: 34.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/2.3, allocations: 498.9 kB / 1.256 GB, free: 34.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/2.311, allocations: 8.62 MB / 1.264 GB, free: 29.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/2.316, allocations: 183.8 kB / 1.265 GB, free: 29.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005966/2.316, allocations: 126.5 kB / 1.265 GB, free: 29.35 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 231 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (7,13,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008803/2.317, allocations: 323.9 kB / 1.265 GB, free: 29.15 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/2.318, allocations: 445.7 kB / 1.265 GB, free: 28.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008037/2.326, allocations: 3.148 MB / 1.269 GB, free: 28.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005997/2.332, allocations: 2.421 MB / 1.271 GB, free: 26.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/2.332, allocations: 0 / 1.271 GB, free: 26.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00292/2.335, allocations: 0.6864 MB / 1.272 GB, free: 25.76 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.336, allocations: 33.06 kB / 1.272 GB, free: 25.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/2.339, allocations: 141.2 kB / 1.272 GB, free: 25.64 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/2.339, allocations: 142.6 kB / 1.272 GB, free: 25.52 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006791/2.346, allocations: 2.632 MB / 1.274 GB, free: 23.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006805/2.353, allocations: 3.568 MB / 1.278 GB, free: 21 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001605/2.354, allocations: 0.9258 MB / 1.279 GB, free: 20.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00434/2.359, allocations: 2.657 MB / 1.281 GB, free: 18.53 MB / 0.92 GB Notification: Performance of Backend: time 6.41e-07/2.359, allocations: 1.594 kB / 1.281 GB, free: 18.53 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.373, allocations: 5.193 MB / 1.287 GB, free: 14.25 MB / 0.92 GB Notification: Performance of SimCode: time 0.02192/2.395, allocations: 9.656 MB / 1.296 GB, free: 4.754 MB / 0.92 GB Notification: Performance of Templates: time 0.1704/2.566, allocations: 92.96 MB / 1.387 GB, free: 9.66 MB / 1.014 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)