Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.373/2.373, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 180.2 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.668/2.668, allocations: 205.4 MB / 0.5767 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001016, allocations: 95.27 kB / 0.6813 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 11.78 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3148, allocations: 106.2 MB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06839/0.3833, allocations: 52.73 MB / 0.9505 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.4018, allocations: 9.704 MB / 0.96 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.4045, allocations: 43.69 kB / 0.96 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.4074, allocations: 0.4931 MB / 0.9605 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.4142, allocations: 1.529 MB / 0.962 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.4189, allocations: 0.9572 MB / 0.9629 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008037/0.4269, allocations: 4.022 MB / 0.9669 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.4295, allocations: 0.9418 MB / 0.9678 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.4332, allocations: 1.05 MB / 0.9688 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.4358, allocations: 0.9178 MB / 0.9697 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.4363, allocations: 48 kB / 0.9698 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.4401, allocations: 0.8576 MB / 0.9706 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.441, allocations: 246.9 kB / 0.9708 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000851/0.4418, allocations: 309 kB / 0.9711 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.4459, allocations: 1.707 MB / 0.9728 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.446, allocations: 0 / 0.9728 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.267e-06/0.446, allocations: 4 kB / 0.9728 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.332e-05/0.4461, allocations: 0 / 0.9728 GB, free: 6.156 MB / 0.6198 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.004621/0.4507, allocations: 1.606 MB / 0.9744 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4508, allocations: 19.95 kB / 0.9744 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.4516, allocations: 167.1 kB / 0.9745 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.4551, allocations: 1.124 MB / 0.9756 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.4552, allocations: 70 kB / 0.9757 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.4555, allocations: 92 kB / 0.9758 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.4584, allocations: 0.941 MB / 0.9767 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.4585, allocations: 4 kB / 0.9767 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.4586, allocations: 35.98 kB / 0.9768 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.4587, allocations: 31.94 kB / 0.9768 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4609, allocations: 0.6636 MB / 0.9774 GB, free: 1.242 MB / 0.6198 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.008332/0.4692, allocations: 4.057 MB / 0.9814 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4704, allocations: 384.1 kB / 0.9818 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.4711, allocations: 256.2 kB / 0.982 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.4716, allocations: 0.5031 MB / 0.9825 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.4725, allocations: 346 kB / 0.9828 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 3.106e-06/0.4725, allocations: 0 / 0.9828 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.006301/0.4788, allocations: 1.942 MB / 0.9847 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.479, allocations: 140.9 kB / 0.9849 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.4812, allocations: 1.078 MB / 0.9859 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.4814, allocations: 41.7 kB / 0.9859 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.4822, allocations: 0.578 MB / 0.9865 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.4825, allocations: 181.4 kB / 0.9867 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4825, allocations: 12 kB / 0.9867 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4827, allocations: 342 kB / 0.987 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.4834, allocations: 213.9 kB / 0.9872 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008565/0.4842, allocations: 433.8 kB / 0.9876 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.4851, allocations: 307.7 kB / 0.9879 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4851, allocations: 0 / 0.9879 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002556/0.4877, allocations: 0.8796 MB / 0.9888 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.4879, allocations: 246.5 kB / 0.989 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4879, allocations: 8 kB / 0.989 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.4885, allocations: 105.7 kB / 0.9891 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.4894, allocations: 127.8 kB / 0.9893 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.4921, allocations: 2.176 MB / 0.9914 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4941, allocations: 87.91 kB / 0.9915 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4943, allocations: 31.98 kB / 0.9915 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4943, allocations: 11.94 kB / 0.9915 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002161/0.4965, allocations: 0.7778 MB / 0.9923 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4965, allocations: 4 kB / 0.9923 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.497, allocations: 101.7 kB / 0.9924 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.4979, allocations: 123.8 kB / 0.9925 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.5003, allocations: 2.168 MB / 0.9946 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5021, allocations: 88.03 kB / 0.9947 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5022, allocations: 31.98 kB / 0.9947 GB, free: 14.5 MB / 0.6511 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.0009353/0.5032, allocations: 432.4 kB / 0.9951 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.5035, allocations: 122.5 kB / 0.9952 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.5057, allocations: 0.8116 MB / 0.996 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5057, allocations: 4 kB / 0.996 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5057, allocations: 0 / 0.996 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/0.5074, allocations: 0.7072 MB / 0.9967 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.512, allocations: 1.771 MB / 0.9985 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.512, allocations: 4.156 kB / 0.9985 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.5128, allocations: 75.89 kB / 0.9985 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.5133, allocations: 105.7 kB / 0.9986 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.5134, allocations: 15.98 kB / 0.9987 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.5159, allocations: 2.172 MB / 1.001 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5159, allocations: 3.938 kB / 1.001 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.519, allocations: 1.107 MB / 1.002 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/0.5201, allocations: 267.6 kB / 1.002 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.5204, allocations: 19.98 kB / 1.002 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.5219, allocations: 59.84 kB / 1.002 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.5221, allocations: 39.89 kB / 1.002 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.5222, allocations: 23.98 kB / 1.002 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001832/0.524, allocations: 0.7447 MB / 1.003 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.343e-06/0.5241, allocations: 4 kB / 1.003 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003218/0.5273, allocations: 0.5819 MB / 1.004 GB, free: 5.051 MB / 0.6511 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.001279/0.5287, allocations: 386.5 kB / 1.004 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003516/0.5322, allocations: 1.337 MB / 1.005 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.5323, allocations: 4.438 kB / 1.005 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5333, allocations: 486.1 kB / 1.006 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/0.5385, allocations: 0.5788 MB / 1.006 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.5445, allocations: 2.398 MB / 1.009 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/0.5455, allocations: 1.128 MB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001619/0.5472, allocations: 217.5 kB / 1.01 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.5475, allocations: 91.34 kB / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.463e-06/0.5475, allocations: 0 / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.06429/0.6118, allocations: 23.09 MB / 1.033 GB, free: 7.43 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)