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.504/1.504, allocations: 252 MB / 267 MB, free: 10.97 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.001025/0.001025, allocations: 176.1 kB / 326.6 MB, free: 2.223 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.779/1.779, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008075/0.0008074, allocations: 98.2 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003786, allocations: 12.7 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04322/0.2669, allocations: 52.73 MB / 0.9518 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.2804, allocations: 9.703 MB / 0.9613 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.2828, allocations: 47.69 kB / 0.9613 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2846, allocations: 0.4892 MB / 0.9618 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.2902, allocations: 1.53 MB / 0.9633 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.2941, allocations: 0.9573 MB / 0.9642 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006625/0.3008, allocations: 4.001 MB / 0.9681 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.3031, allocations: 0.8871 MB / 0.969 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.3061, allocations: 1.054 MB / 0.97 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.3083, allocations: 0.9138 MB / 0.9709 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.3087, allocations: 52 kB / 0.971 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.3115, allocations: 0.8537 MB / 0.9718 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.312, allocations: 238.9 kB / 0.972 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.3129, allocations: 317 kB / 0.9723 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.3157, allocations: 1.711 MB / 0.974 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3157, allocations: 0 / 0.974 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3157, allocations: 0 / 0.974 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.3158, allocations: 0 / 0.974 GB, free: 4.129 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.003671/0.3195, allocations: 1.609 MB / 0.9756 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.217e-05/0.3195, allocations: 12.03 kB / 0.9756 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.3198, allocations: 143.4 kB / 0.9757 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.3204, allocations: 162.1 kB / 0.9759 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.3234, allocations: 1.123 MB / 0.977 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/0.3236, allocations: 70 kB / 0.977 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.3238, allocations: 95.98 kB / 0.9771 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.3262, allocations: 0.9371 MB / 0.978 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.3262, allocations: 4 kB / 0.978 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3264, allocations: 36 kB / 0.9781 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/0.3264, allocations: 31.94 kB / 0.9781 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.3282, allocations: 0.6636 MB / 0.9788 GB, free: 15.07 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.007737/0.3359, allocations: 4.054 MB / 0.9827 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.337, allocations: 380.6 kB / 0.9831 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.3376, allocations: 261.3 kB / 0.9833 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.3383, allocations: 0.4951 MB / 0.9838 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008418/0.3392, allocations: 350 kB / 0.9841 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 5.199e-06/0.3392, allocations: 0 / 0.9841 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.006058/0.3452, allocations: 1.938 MB / 0.986 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.3454, allocations: 141 kB / 0.9862 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.3481, allocations: 1.082 MB / 0.9872 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3483, allocations: 41.7 kB / 0.9873 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008313/0.3491, allocations: 0.5779 MB / 0.9878 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.3494, allocations: 177.5 kB / 0.988 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.3495, allocations: 20 kB / 0.988 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.3497, allocations: 334 kB / 0.9883 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.3503, allocations: 213.9 kB / 0.9885 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.3512, allocations: 429.8 kB / 0.989 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.3519, allocations: 303.7 kB / 0.9892 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.352, allocations: 4 kB / 0.9892 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002397/0.3544, allocations: 0.8912 MB / 0.9901 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.3546, allocations: 241.3 kB / 0.9903 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3546, allocations: 4 kB / 0.9903 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.3552, allocations: 113.6 kB / 0.9905 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.3559, allocations: 127.8 kB / 0.9906 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.3584, allocations: 2.168 MB / 0.9927 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3599, allocations: 87.97 kB / 0.9928 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.36, allocations: 35.98 kB / 0.9928 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3601, allocations: 4 kB / 0.9928 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/0.3615, allocations: 0.7737 MB / 0.9936 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3615, allocations: 7.953 kB / 0.9936 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/0.3618, allocations: 101.7 kB / 0.9937 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.3623, allocations: 127.8 kB / 0.9938 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.3646, allocations: 2.161 MB / 0.9959 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.3664, allocations: 91.78 kB / 0.996 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.3665, allocations: 35.98 kB / 0.996 GB, free: 12.33 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.00109/0.3676, allocations: 433.1 kB / 0.9964 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/0.3681, allocations: 122.5 kB / 0.9966 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.3703, allocations: 0.804 MB / 0.9973 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.3703, allocations: 8 kB / 0.9974 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3703, allocations: 0 / 0.9974 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/0.3718, allocations: 0.6996 MB / 0.998 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.3762, allocations: 1.779 MB / 0.9998 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3763, allocations: 0 / 0.9998 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.3768, allocations: 79.89 kB / 0.9999 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.3773, allocations: 97.66 kB / 0.9999 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.3774, allocations: 16.08 kB / 1 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.3799, allocations: 2.176 MB / 1.002 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3799, allocations: 8.031 kB / 1.002 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.3827, allocations: 1.095 MB / 1.003 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/0.3837, allocations: 275.5 kB / 1.003 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.3842, allocations: 15.98 kB / 1.003 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.3856, allocations: 63.86 kB / 1.004 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3857, allocations: 35.89 kB / 1.004 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/0.3858, allocations: 23.98 kB / 1.004 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001919/0.3877, allocations: 0.7563 MB / 1.004 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3878, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002976/0.3907, allocations: 0.5858 MB / 1.005 GB, free: 2.883 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.003649/0.3944, allocations: 1.915 MB / 1.007 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.397, allocations: 1.353 MB / 1.008 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3971, allocations: 0 / 1.008 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.3977, allocations: 474.5 kB / 1.009 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.4008, allocations: 0.5802 MB / 1.009 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4139, allocations: 6.696 MB / 1.016 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.415, allocations: 1.128 MB / 1.017 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001502/0.4165, allocations: 229.5 kB / 1.017 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.4172, allocations: 455.3 kB / 1.017 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of SimCode: time 1.282e-06/0.4172, allocations: 0 / 1.017 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/0.481, allocations: 33.96 MB / 1.051 GB, free: 4.008 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.4813, allocations: 261.7 kB / 1.051 GB, free: 3.652 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/3.871, allocations: 0 / 1.051 GB, free: 3.652 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)