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.449/1.449, allocations: 252 MB / 267.3 MB, free: 10.85 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.001187/0.001187, allocations: 175.5 kB / 327 MB, free: 2.105 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.834/1.834, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007682/0.0007683, allocations: 79.86 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003744, allocations: 8.844 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.0473/0.2783, allocations: 55.79 MB / 0.9554 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.2924, allocations: 10.31 MB / 0.9655 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.2947, allocations: 47.69 kB / 0.9655 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.2967, allocations: 0.5634 MB / 0.9661 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00632/0.3031, allocations: 1.78 MB / 0.9678 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.3068, allocations: 1.171 MB / 0.9689 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006722/0.3136, allocations: 4.655 MB / 0.9735 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.3158, allocations: 1.001 MB / 0.9745 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.3187, allocations: 1.1 MB / 0.9755 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.3209, allocations: 0.9798 MB / 0.9765 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.3213, allocations: 48 kB / 0.9765 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.3247, allocations: 1.134 MB / 0.9777 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.3252, allocations: 258.8 kB / 0.9779 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.3268, allocations: 0.705 MB / 0.9786 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004518/0.3313, allocations: 2.274 MB / 0.9808 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3314, allocations: 0 / 0.9808 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3314, allocations: 0 / 0.9808 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.103e-05/0.3315, allocations: 3.938 kB / 0.9808 GB, free: 13.31 MB / 0.6355 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.003403/0.3349, allocations: 1.594 MB / 0.9824 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.3349, allocations: 8.031 kB / 0.9824 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000343/0.3353, allocations: 139.6 kB / 0.9825 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.3359, allocations: 171 kB / 0.9827 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.3382, allocations: 1.166 MB / 0.9838 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.3382, allocations: 66 kB / 0.9839 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3384, allocations: 92 kB / 0.984 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.3402, allocations: 0.9528 MB / 0.9849 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.3402, allocations: 3.938 kB / 0.9849 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.3403, allocations: 35.98 kB / 0.9849 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.3404, allocations: 28 kB / 0.985 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3417, allocations: 0.6675 MB / 0.9856 GB, free: 8.223 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.006233/0.348, allocations: 4.061 MB / 0.9896 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.3487, allocations: 384.5 kB / 0.9899 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.3491, allocations: 257.4 kB / 0.9902 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.3496, allocations: 0.507 MB / 0.9907 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/0.3502, allocations: 346.4 kB / 0.991 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 4.669e-06/0.3502, allocations: 7.922 kB / 0.991 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003996/0.3542, allocations: 1.938 MB / 0.9929 GB, free: 296 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3543, allocations: 144.9 kB / 0.993 GB, free: 120 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3558, allocations: 1.086 MB / 0.9941 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.3559, allocations: 37.7 kB / 0.9941 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.3564, allocations: 0.5858 MB / 0.9947 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3566, allocations: 185.3 kB / 0.9949 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3566, allocations: 12 kB / 0.9949 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3567, allocations: 330 kB / 0.9952 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.3571, allocations: 221.9 kB / 0.9954 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.3577, allocations: 445.8 kB / 0.9959 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.3586, allocations: 0.6546 MB / 0.9965 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3587, allocations: 0 / 0.9965 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00152/0.3602, allocations: 0.8872 MB / 0.9974 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3604, allocations: 253.5 kB / 0.9976 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3604, allocations: 8 kB / 0.9976 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.3608, allocations: 101.7 kB / 0.9977 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.3613, allocations: 123.8 kB / 0.9978 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.3634, allocations: 2.18 MB / 1 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.3645, allocations: 91.88 kB / 1 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.3645, allocations: 31.98 kB / 1 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.3646, allocations: 4 kB / 1 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/0.3659, allocations: 0.7775 MB / 1.001 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3659, allocations: 4 kB / 1.001 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.3662, allocations: 110.2 kB / 1.001 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.3667, allocations: 119.8 kB / 1.001 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.3685, allocations: 2.172 MB / 1.003 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3696, allocations: 91.83 kB / 1.003 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.3697, allocations: 43.97 kB / 1.003 GB, free: 4.984 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 (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.0007202/0.3704, allocations: 426.5 kB / 1.004 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.3706, allocations: 118.6 kB / 1.004 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.3721, allocations: 0.8038 MB / 1.005 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3722, allocations: 8 kB / 1.005 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3722, allocations: 0 / 1.005 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009996/0.3732, allocations: 0.6995 MB / 1.005 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.3763, allocations: 1.813 MB / 1.007 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3763, allocations: 0 / 1.007 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.3768, allocations: 75.88 kB / 1.007 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.3771, allocations: 105.8 kB / 1.007 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.3772, allocations: 12 kB / 1.007 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.3792, allocations: 2.172 MB / 1.009 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3792, allocations: 7.938 kB / 1.009 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3809, allocations: 1.116 MB / 1.01 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.3815, allocations: 275.5 kB / 1.011 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.3818, allocations: 16 kB / 1.011 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.3828, allocations: 75.83 kB / 1.011 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.3829, allocations: 35.89 kB / 1.011 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.3829, allocations: 23.98 kB / 1.011 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001521/0.3845, allocations: 0.8129 MB / 1.012 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 0 / 1.012 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002595/0.3871, allocations: 0.5897 MB / 1.012 GB, free: 11.42 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.004135/0.3912, allocations: 1.95 MB / 1.014 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.3944, allocations: 1.356 MB / 1.015 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3944, allocations: 0 / 1.015 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.3953, allocations: 479.1 kB / 1.016 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/0.4, allocations: 0.714 MB / 1.017 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.418, allocations: 9.919 MB / 1.026 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/0.4189, allocations: 1.129 MB / 1.027 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001278/0.4202, allocations: 234.3 kB / 1.028 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/0.421, allocations: 467.3 kB / 1.028 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.421, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4743/0.8953, allocations: 36.82 MB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.8956, allocations: 281 kB / 1.064 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.557/4.452, allocations: 0 / 1.064 GB, free: 144.3 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)