Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 292.6 MB / 307.8 MB, free: 7.121 MB / 234.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.00103/0.00103, allocations: 189 kB / 376.5 MB, free: 4.453 MB / 298.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 1.516/1.516, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.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.0008596/0.0008596, allocations: 94.3 kB / 0.7711 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 12 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.673, allocations: 118.2 MB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005612/0.6787, allocations: 4.089 MB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.6798, allocations: 0.7591 MB / 1.017 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.6799, allocations: 2.25 kB / 1.017 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.68, allocations: 26.81 kB / 1.017 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.6801, allocations: 27.64 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.6806, allocations: 140.1 kB / 1.017 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.6807, allocations: 156 kB / 1.017 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6809, allocations: 18.38 kB / 1.017 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.681, allocations: 74.11 kB / 1.018 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6812, allocations: 69.44 kB / 1.018 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.6812, allocations: 4.719 kB / 1.018 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.6815, allocations: 137.4 kB / 1.018 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.6815, allocations: 22.16 kB / 1.018 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.6816, allocations: 85.08 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.6819, allocations: 162.8 kB / 1.018 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.6819, allocations: 2.719 kB / 1.018 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.816e-06/0.6819, allocations: 1.656 kB / 1.018 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.6819, allocations: 0 / 1.018 GB, free: 56.92 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008577/0.6828, allocations: 479.2 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6829, allocations: 10.22 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.6829, allocations: 14.78 kB / 1.019 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.683, allocations: 182.5 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.6831, allocations: 12.34 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.6831, allocations: 14.22 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.6835, allocations: 131 kB / 1.019 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6835, allocations: 0 / 1.019 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6835, allocations: 5.938 kB / 1.019 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6835, allocations: 1.969 kB / 1.019 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.6839, allocations: 166.4 kB / 1.019 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.6849, allocations: 468.9 kB / 1.019 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.6851, allocations: 136.5 kB / 1.02 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.6854, allocations: 80.52 kB / 1.02 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.6865, allocations: 0.9577 MB / 1.021 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6865, allocations: 44.31 kB / 1.021 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.6866, allocations: 0 / 1.021 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0006539/0.6872, allocations: 245.9 kB / 1.021 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.6873, allocations: 53.69 kB / 1.021 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.6874, allocations: 155.4 kB / 1.021 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.6874, allocations: 33.8 kB / 1.021 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.6875, allocations: 109.4 kB / 1.021 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.6875, allocations: 45.77 kB / 1.021 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.6875, allocations: 6.594 kB / 1.021 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.6876, allocations: 319.6 kB / 1.022 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.6878, allocations: 88.56 kB / 1.022 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.6881, allocations: 124.9 kB / 1.022 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.6885, allocations: 197.7 kB / 1.022 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6885, allocations: 4 kB / 1.022 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005096/0.689, allocations: 262.1 kB / 1.022 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.689, allocations: 9.938 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.689, allocations: 3.781 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.689, allocations: 0 / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.6893, allocations: 59.7 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6893, allocations: 2.781 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.6895, allocations: 37.84 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.6895, allocations: 15.62 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.6896, allocations: 123 kB / 1.022 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.6896, allocations: 10.81 kB / 1.022 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.6901, allocations: 193.5 kB / 1.023 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6901, allocations: 2.75 kB / 1.023 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6902, allocations: 7.375 kB / 1.023 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6902, allocations: 3.438 kB / 1.023 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.6904, allocations: 219.5 kB / 1.023 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6904, allocations: 0 / 1.023 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.6906, allocations: 37.95 kB / 1.023 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6906, allocations: 3.938 kB / 1.023 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6906, allocations: 6.906 kB / 1.023 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6906, allocations: 0 / 1.023 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6906, allocations: 4 kB / 1.023 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.691, allocations: 271.8 kB / 1.023 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.6911, allocations: 109.1 kB / 1.023 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.6911, allocations: 0 / 1.023 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6913, allocations: 18.97 kB / 1.023 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.6913, allocations: 9.203 kB / 1.023 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6913, allocations: 8.312 kB / 1.023 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.315e-05/0.6914, allocations: 119.2 kB / 1.023 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.705e-06/0.6914, allocations: 0 / 1.023 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000324/0.6918, allocations: 64.66 kB / 1.023 GB, free: 53.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003092/0.6921, allocations: 172.4 kB / 1.024 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.6926, allocations: 187 kB / 1.024 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6926, allocations: 0 / 1.024 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.6928, allocations: 81.03 kB / 1.024 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.6931, allocations: 21.09 kB / 1.024 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.6936, allocations: 365.2 kB / 1.024 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.6938, allocations: 0.7092 MB / 1.025 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.6939, allocations: 22.55 kB / 1.025 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.694, allocations: 15.53 kB / 1.025 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.694, allocations: 0 / 1.025 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.005465/0.6994, allocations: 2.495 MB / 1.027 GB, free: 52.3 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)