Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_8_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_8_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001575/0.001575, allocations: 172.7 kB / 15.95 MB, free: 208 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.777/1.777, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005553/0.0005554, allocations: 19 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2801, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05596/0.3362, allocations: 52.73 MB / 0.8389 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.351, allocations: 9.725 MB / 0.8484 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.3534, allocations: 47.62 kB / 0.8484 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3554, allocations: 0.4931 MB / 0.8489 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005278/0.3607, allocations: 1.525 MB / 0.8504 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.3641, allocations: 0.984 MB / 0.8514 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0068/0.3709, allocations: 4.024 MB / 0.8553 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.3732, allocations: 0.895 MB / 0.8562 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.3764, allocations: 1.054 MB / 0.8572 GB, free: 4.16 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.3786, allocations: 0.9178 MB / 0.8581 GB, free: 3.238 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.379, allocations: 48 kB / 0.8581 GB, free: 3.191 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.3823, allocations: 0.8497 MB / 0.859 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005155/0.3828, allocations: 250.9 kB / 0.8592 GB, free: 2.094 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009359/0.3837, allocations: 317 kB / 0.8595 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.3873, allocations: 1.707 MB / 0.8612 GB, free: 68 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3874, allocations: 0 / 0.8612 GB, free: 68 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3874, allocations: 0 / 0.8612 GB, free: 68 kB / 0.67 GB Notification: Performance of Transformations before backend: time 7.685e-05/0.3875, allocations: 8 kB / 0.8612 GB, free: 60 kB / 0.67 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.003827/0.3913, allocations: 1.625 MB / 0.8628 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.3914, allocations: 12.03 kB / 0.8628 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004009/0.3918, allocations: 131.5 kB / 0.8629 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.3924, allocations: 170.1 kB / 0.8631 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.3949, allocations: 1.123 MB / 0.8642 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.395, allocations: 70 kB / 0.8642 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3952, allocations: 92 kB / 0.8643 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.397, allocations: 0.9489 MB / 0.8652 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.397, allocations: 0 / 0.8652 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.3971, allocations: 32 kB / 0.8653 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.3972, allocations: 35.98 kB / 0.8653 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3985, allocations: 0.6597 MB / 0.866 GB, free: 11 MB / 0.6856 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.005826/0.4043, allocations: 4.073 MB / 0.8699 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.4051, allocations: 380.5 kB / 0.8703 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.4055, allocations: 258.9 kB / 0.8705 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.406, allocations: 0.5031 MB / 0.871 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006418/0.4066, allocations: 354 kB / 0.8714 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=52): time 2.415e-06/0.4067, allocations: 0 / 0.8714 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54): time 0.004139/0.4108, allocations: 1.934 MB / 0.8733 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.4109, allocations: 137 kB / 0.8734 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4124, allocations: 1.082 MB / 0.8744 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.4125, allocations: 37.7 kB / 0.8745 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.4131, allocations: 0.578 MB / 0.875 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4132, allocations: 189.3 kB / 0.8752 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.4133, allocations: 16 kB / 0.8752 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4134, allocations: 330 kB / 0.8756 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.4138, allocations: 213.9 kB / 0.8758 GB, free: 440 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.4144, allocations: 437.8 kB / 0.8762 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.4149, allocations: 299.8 kB / 0.8765 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4149, allocations: 4 kB / 0.8765 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001502/0.4164, allocations: 0.8757 MB / 0.8773 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.4167, allocations: 253.2 kB / 0.8776 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4167, allocations: 4 kB / 0.8776 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.4171, allocations: 113.7 kB / 0.8777 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.4175, allocations: 119.8 kB / 0.8778 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.4196, allocations: 2.18 MB / 0.8799 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4207, allocations: 95.81 kB / 0.88 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.4208, allocations: 32.03 kB / 0.88 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4208, allocations: 4 kB / 0.88 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/0.4222, allocations: 0.77 MB / 0.8808 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4223, allocations: 4 kB / 0.8808 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.4226, allocations: 109.5 kB / 0.8809 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.4231, allocations: 119.8 kB / 0.881 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.4249, allocations: 2.176 MB / 0.8831 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/0.4259, allocations: 79.89 kB / 0.8832 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.426, allocations: 35.94 kB / 0.8833 GB, free: 8.234 MB / 0.7012 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.0007456/0.4268, allocations: 430.6 kB / 0.8837 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.427, allocations: 118.6 kB / 0.8838 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4286, allocations: 0.7962 MB / 0.8846 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4286, allocations: 8 kB / 0.8846 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4286, allocations: 4 kB / 0.8846 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009987/0.4296, allocations: 0.6917 MB / 0.8852 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.433, allocations: 1.798 MB / 0.887 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4331, allocations: 0 / 0.887 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.4336, allocations: 75.89 kB / 0.8871 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.434, allocations: 105.6 kB / 0.8872 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.4341, allocations: 16.16 kB / 0.8872 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.4364, allocations: 2.173 MB / 0.8893 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4364, allocations: 7.969 kB / 0.8893 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.4383, allocations: 1.103 MB / 0.8904 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/0.4391, allocations: 271.5 kB / 0.8907 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.4394, allocations: 19.98 kB / 0.8907 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/0.4402, allocations: 59.91 kB / 0.8907 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.4404, allocations: 31.95 kB / 0.8908 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.4404, allocations: 35.91 kB / 0.8908 GB, free: 116 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001565/0.442, allocations: 0.7447 MB / 0.8915 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.442, allocations: 0 / 0.8915 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002308/0.4443, allocations: 0.5858 MB / 0.8921 GB, free: 14.77 MB / 0.7169 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.002958/0.4473, allocations: 1.932 MB / 0.894 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.4498, allocations: 1.356 MB / 0.8953 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4498, allocations: 0 / 0.8953 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.4505, allocations: 478.2 kB / 0.8958 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.4542, allocations: 0.5824 MB / 0.8963 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.4688, allocations: 6.698 MB / 0.9029 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/0.4697, allocations: 1.128 MB / 0.904 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001107/0.4708, allocations: 221.5 kB / 0.9042 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006247/0.4715, allocations: 455.3 kB / 0.9046 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of SimCode: time 1.643e-06/0.4715, allocations: 0 / 0.9046 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5331/1.005, allocations: 34.07 MB / 0.9379 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.005, allocations: 247.9 kB / 0.9381 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.932, allocations: 1.375 kB / 0.9381 GB, free: 123.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) Environment - environmentSimulation: