Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.535/2.535, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 201.1 kB / 329.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.678/2.678, allocations: 225.6 MB / 0.6001 GB, free: 2.242 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 95.42 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007455/0.0007457, allocations: 15.19 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.243, allocations: 109.1 MB / 0.9307 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.07809/0.3212, allocations: 52.71 MB / 0.9822 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.3416, allocations: 9.694 MB / 0.9917 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.344, allocations: 43.75 kB / 0.9917 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.3464, allocations: 0.4892 MB / 0.9922 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006483/0.3529, allocations: 1.531 MB / 0.9937 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004675/0.3576, allocations: 0.9549 MB / 0.9946 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007644/0.3653, allocations: 4.04 MB / 0.9986 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.3677, allocations: 0.9457 MB / 0.9995 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.3711, allocations: 1.054 MB / 1.001 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.3737, allocations: 0.9138 MB / 1.001 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.3741, allocations: 48 kB / 1.001 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.3777, allocations: 0.8653 MB / 1.002 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.3784, allocations: 242.9 kB / 1.003 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000823/0.3793, allocations: 313 kB / 1.003 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.3835, allocations: 1.703 MB / 1.005 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3835, allocations: 0 / 1.005 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.987e-06/0.3835, allocations: 0 / 1.005 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.219e-05/0.3836, allocations: 0 / 1.005 GB, free: 13.39 MB / 0.6511 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.004841/0.3884, allocations: 1.613 MB / 1.006 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3885, allocations: 12.03 kB / 1.006 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.3894, allocations: 163.1 kB / 1.006 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.3928, allocations: 1.128 MB / 1.007 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.393, allocations: 66 kB / 1.007 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.3932, allocations: 92 kB / 1.008 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.396, allocations: 0.9449 MB / 1.008 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.396, allocations: 3.938 kB / 1.008 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.3962, allocations: 36 kB / 1.008 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.3963, allocations: 24 kB / 1.008 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.3983, allocations: 0.6636 MB / 1.009 GB, free: 8.488 MB / 0.6511 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.01332/0.4117, allocations: 4.065 MB / 1.013 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.4135, allocations: 385 kB / 1.013 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4146, allocations: 259.2 kB / 1.014 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008687/0.4155, allocations: 0.4913 MB / 1.014 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.4169, allocations: 362.3 kB / 1.015 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 4.659e-06/0.417, allocations: 0 / 1.015 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.009643/0.4266, allocations: 1.926 MB / 1.016 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.4268, allocations: 145 kB / 1.017 GB, free: 392 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.4304, allocations: 1.086 MB / 1.018 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.4306, allocations: 37.7 kB / 1.018 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4317, allocations: 0.5741 MB / 1.018 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/0.4323, allocations: 181.5 kB / 1.018 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.4324, allocations: 8 kB / 1.018 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.4326, allocations: 334 kB / 1.019 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4338, allocations: 217.9 kB / 1.019 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.4353, allocations: 434.2 kB / 1.019 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4367, allocations: 303.7 kB / 1.02 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4368, allocations: 0 / 1.02 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004185/0.441, allocations: 0.8793 MB / 1.02 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.4414, allocations: 257.5 kB / 1.021 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.4414, allocations: 7.938 kB / 1.021 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009598/0.4424, allocations: 113.6 kB / 1.021 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.444, allocations: 123.8 kB / 1.021 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.4481, allocations: 2.168 MB / 1.023 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.4503, allocations: 93.5 kB / 1.023 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4505, allocations: 35.98 kB / 1.023 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4506, allocations: 7.906 kB / 1.023 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/0.4528, allocations: 0.7658 MB / 1.024 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4529, allocations: 4 kB / 1.024 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.4534, allocations: 110.2 kB / 1.024 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.4542, allocations: 119.8 kB / 1.024 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.4568, allocations: 2.18 MB / 1.026 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.4585, allocations: 83.92 kB / 1.026 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.4587, allocations: 31.98 kB / 1.026 GB, free: 5.73 MB / 0.6667 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.0009005/0.4596, allocations: 438.4 kB / 1.027 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.46, allocations: 122.5 kB / 1.027 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.4622, allocations: 0.7961 MB / 1.028 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.4622, allocations: 4 kB / 1.028 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.4622, allocations: 4 kB / 1.028 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.4639, allocations: 0.6917 MB / 1.028 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.4684, allocations: 1.786 MB / 1.03 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4684, allocations: 0 / 1.03 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.4691, allocations: 75.89 kB / 1.03 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.4697, allocations: 105.8 kB / 1.03 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.4697, allocations: 19.98 kB / 1.03 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6588/1.129, allocations: 2.159 MB / 1.032 GB, free: 99.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.129, allocations: 7.625 kB / 1.032 GB, free: 99.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.132, allocations: 1.105 MB / 1.034 GB, free: 99.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/1.133, allocations: 273.2 kB / 1.034 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/1.133, allocations: 13.84 kB / 1.034 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.135, allocations: 60.84 kB / 1.034 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.135, allocations: 42.56 kB / 1.034 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.135, allocations: 25.73 kB / 1.034 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002036/1.137, allocations: 0.7493 MB / 1.035 GB, free: 99.19 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.71e-07/1.137, allocations: 0 / 1.035 GB, free: 99.19 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003206/1.141, allocations: 0.5828 MB / 1.035 GB, free: 99.19 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 (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.001234/1.142, allocations: 391.5 kB / 1.036 GB, free: 99.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.145, allocations: 1.346 MB / 1.037 GB, free: 98.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.146, allocations: 1 kB / 1.037 GB, free: 98.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.147, allocations: 475.5 kB / 1.037 GB, free: 98.17 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005701/1.152, allocations: 0.5882 MB / 1.038 GB, free: 98.06 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/1.159, allocations: 2.407 MB / 1.04 GB, free: 96.75 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.16, allocations: 1.128 MB / 1.041 GB, free: 96.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001825/1.162, allocations: 225.2 kB / 1.042 GB, free: 96.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.163, allocations: 85.22 kB / 1.042 GB, free: 96 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.163, allocations: 0 / 1.042 GB, free: 96 MB / 0.6667 GB Notification: Performance of Templates: time 0.06843/1.231, allocations: 23.11 MB / 1.064 GB, free: 88.83 MB / 0.6667 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)