Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009606/0.0009608, allocations: 175.1 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007746/0.0007749, allocations: 94.19 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 12.84 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.03655/0.2653, allocations: 56.53 MB / 0.9514 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2787, allocations: 10.43 MB / 0.9616 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.2815, allocations: 43.75 kB / 0.9616 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.2834, allocations: 0.5634 MB / 0.9622 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.2884, allocations: 1.797 MB / 0.9639 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.2914, allocations: 1.17 MB / 0.9651 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004838/0.2963, allocations: 4.653 MB / 0.9696 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.2976, allocations: 0.978 MB / 0.9706 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.2996, allocations: 1.097 MB / 0.9716 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.3007, allocations: 0.9836 MB / 0.9726 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.3008, allocations: 48 kB / 0.9726 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.3031, allocations: 1.138 MB / 0.9738 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.3034, allocations: 254.7 kB / 0.974 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.3041, allocations: 0.6799 MB / 0.9747 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.3065, allocations: 2.274 MB / 0.9769 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3065, allocations: 0 / 0.9769 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3065, allocations: 0 / 0.9769 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.3065, allocations: 0 / 0.9769 GB, free: 1.18 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.002358/0.3089, allocations: 1.598 MB / 0.9784 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3089, allocations: 8.031 kB / 0.9785 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.3091, allocations: 139.6 kB / 0.9786 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.3094, allocations: 171.1 kB / 0.9787 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.311, allocations: 1.158 MB / 0.9799 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.3111, allocations: 66 kB / 0.9799 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3112, allocations: 99.98 kB / 0.98 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.3126, allocations: 0.9528 MB / 0.981 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3126, allocations: 0 / 0.981 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.3127, allocations: 39.94 kB / 0.981 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.3127, allocations: 24 kB / 0.981 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3138, allocations: 0.6714 MB / 0.9817 GB, free: 12.09 MB / 0.6355 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.004346/0.3181, allocations: 4.065 MB / 0.9857 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.3188, allocations: 388.7 kB / 0.986 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.3191, allocations: 257.3 kB / 0.9863 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/0.3195, allocations: 0.503 MB / 0.9868 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.32, allocations: 350 kB / 0.9871 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 2.624e-06/0.32, allocations: 0 / 0.9871 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003395/0.3234, allocations: 1.942 MB / 0.989 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.3235, allocations: 137 kB / 0.9891 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3248, allocations: 1.09 MB / 0.9902 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.3248, allocations: 37.7 kB / 0.9902 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.3253, allocations: 0.578 MB / 0.9908 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3254, allocations: 185.4 kB / 0.991 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.3255, allocations: 61.69 kB / 0.991 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3256, allocations: 341.9 kB / 0.9913 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.3259, allocations: 217.8 kB / 0.9916 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3264, allocations: 450 kB / 0.992 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.3272, allocations: 0.6507 MB / 0.9926 GB, free: 200 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3273, allocations: 4 kB / 0.9926 GB, free: 196 kB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001296/0.3286, allocations: 0.8955 MB / 0.9935 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.3287, allocations: 248.9 kB / 0.9937 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3287, allocations: 8 kB / 0.9937 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.3291, allocations: 105.7 kB / 0.9938 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3295, allocations: 115.8 kB / 0.994 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.3311, allocations: 2.184 MB / 0.9961 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.332, allocations: 88.48 kB / 0.9962 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.3321, allocations: 35.98 kB / 0.9962 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.3321, allocations: 4 kB / 0.9962 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.3332, allocations: 0.7779 MB / 0.997 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3333, allocations: 4.062 kB / 0.997 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.3335, allocations: 105.7 kB / 0.9971 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.3339, allocations: 119.8 kB / 0.9972 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.3354, allocations: 2.168 MB / 0.9993 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.3362, allocations: 99.95 kB / 0.9994 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.3362, allocations: 35.98 kB / 0.9994 GB, free: 8.793 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 (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 (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005756/0.3368, allocations: 426.5 kB / 0.9998 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.337, allocations: 118.6 kB / 1 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.3382, allocations: 0.8 MB / 1.001 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3382, allocations: 8 kB / 1.001 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3382, allocations: 128 / 1.001 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008987/0.3391, allocations: 0.6995 MB / 1.001 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.3414, allocations: 1.809 MB / 1.003 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3415, allocations: 4 kB / 1.003 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.3418, allocations: 79.97 kB / 1.003 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.3421, allocations: 105.7 kB / 1.003 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.3421, allocations: 19.94 kB / 1.003 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3436, allocations: 2.172 MB / 1.006 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3437, allocations: 4.031 kB / 1.006 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3451, allocations: 1.12 MB / 1.007 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.3455, allocations: 255.5 kB / 1.007 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3456, allocations: 12 kB / 1.007 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/0.3463, allocations: 63.92 kB / 1.007 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3464, allocations: 35.95 kB / 1.007 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.3465, allocations: 32.05 kB / 1.007 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009883/0.3475, allocations: 0.8167 MB / 1.008 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3475, allocations: 0 / 1.008 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00157/0.349, allocations: 0.5859 MB / 1.008 GB, free: 15.24 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/0.3514, allocations: 1.955 MB / 1.01 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.3533, allocations: 1.36 MB / 1.012 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3533, allocations: 0 / 1.012 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.3539, allocations: 482.5 kB / 1.012 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.357, allocations: 0.7016 MB / 1.013 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.3706, allocations: 9.865 MB / 1.022 GB, free: 328 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.3713, allocations: 1.129 MB / 1.023 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001077/0.3724, allocations: 238.3 kB / 1.024 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.373, allocations: 463.2 kB / 1.024 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.373, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.047/1.42, allocations: 36.83 MB / 1.06 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.421, allocations: 279.2 kB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/4.582, allocations: 0 / 1.06 GB, free: 146.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)