Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 297.4 MB / 312.6 MB, free: 2.977 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.001382/0.001382, allocations: 185 kB / 382.3 MB, free: 14.86 MB / 314.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.41/1.41, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0009575/0.0009578, allocations: 99.27 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 15.05 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5873, allocations: 119.2 MB / 1.022 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001597/0.589, allocations: 1.182 MB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.5894, allocations: 298.9 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.5894, allocations: 0 / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.5895, allocations: 5.625 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.5895, allocations: 5.453 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5897, allocations: 25.25 kB / 1.024 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.5898, allocations: 34.19 kB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.5899, allocations: 27.69 kB / 1.024 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.5899, allocations: 7.312 kB / 1.024 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.59, allocations: 16.92 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.59, allocations: 2.969 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.922e-05/0.5901, allocations: 34.09 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.5901, allocations: 9.562 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.5901, allocations: 39.33 kB / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.5903, allocations: 61.25 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5903, allocations: 0.5 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5903, allocations: 0 / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5903, allocations: 3.125 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003513/0.5907, allocations: 361.1 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5907, allocations: 10.88 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.5917, allocations: 246.7 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.5918, allocations: 165.4 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.5918, allocations: 2.469 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.5919, allocations: 3.125 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.5924, allocations: 212.7 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.5924, allocations: 192 / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5925, allocations: 5.531 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5925, allocations: 1.375 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.5933, allocations: 322.8 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.5941, allocations: 464.3 kB / 1.026 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.5951, allocations: 337.5 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.5954, allocations: 120 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5955, allocations: 1.469 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.5955, allocations: 38.5 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5955, allocations: 3.938 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001076/0.5966, allocations: 373 kB / 1.027 GB, free: 55.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.5966, allocations: 52.59 kB / 1.027 GB, free: 55.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.5967, allocations: 115.2 kB / 1.027 GB, free: 55.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5967, allocations: 29.7 kB / 1.027 GB, free: 55.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.5967, allocations: 88.36 kB / 1.027 GB, free: 55.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.5968, allocations: 11.38 kB / 1.027 GB, free: 55.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.5968, allocations: 0 / 1.027 GB, free: 55.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.5968, allocations: 318.8 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.5971, allocations: 119.5 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.5975, allocations: 118.3 kB / 1.027 GB, free: 55.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.5981, allocations: 204.4 kB / 1.028 GB, free: 55.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5981, allocations: 1.344 kB / 1.028 GB, free: 55.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006684/0.5988, allocations: 260.2 kB / 1.028 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5988, allocations: 8.875 kB / 1.028 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5988, allocations: 0 / 1.028 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5988, allocations: 0 / 1.028 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.5991, allocations: 46.75 kB / 1.028 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5991, allocations: 0 / 1.028 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.5992, allocations: 38.52 kB / 1.028 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5993, allocations: 8.688 kB / 1.028 GB, free: 55.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.5993, allocations: 120.9 kB / 1.028 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5994, allocations: 6.812 kB / 1.028 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.5994, allocations: 12.77 kB / 1.028 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5994, allocations: 1.125 kB / 1.028 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5994, allocations: 1.078 kB / 1.028 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5994, allocations: 2.969 kB / 1.028 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.5996, allocations: 212.8 kB / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5996, allocations: 7.562 kB / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.5998, allocations: 40.69 kB / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5998, allocations: 0 / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5999, allocations: 4.547 kB / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5999, allocations: 0 / 1.028 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5999, allocations: 3.938 kB / 1.028 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.6006, allocations: 348 kB / 1.029 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.6006, allocations: 87.38 kB / 1.029 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.6006, allocations: 4 kB / 1.029 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.6008, allocations: 35.69 kB / 1.029 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.6009, allocations: 6.781 kB / 1.029 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.6009, allocations: 3.234 kB / 1.029 GB, free: 54.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.6009, allocations: 98.14 kB / 1.029 GB, free: 54.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6009, allocations: 4 kB / 1.029 GB, free: 54.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002013/0.6011, allocations: 11.25 kB / 1.029 GB, free: 54.46 MB / 0.698 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.674e-05/0.6012, allocations: 103.4 kB / 1.029 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.6019, allocations: 235.7 kB / 1.029 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.602, allocations: 0 / 1.029 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.6023, allocations: 123.9 kB / 1.029 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.6025, allocations: 7.375 kB / 1.029 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.6033, allocations: 292.4 kB / 1.03 GB, free: 54.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.6034, allocations: 0.6965 MB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.11e-05/0.6035, allocations: 19.86 kB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.6036, allocations: 11.91 kB / 1.03 GB, free: 53.45 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.6036, allocations: 4 kB / 1.03 GB, free: 53.45 MB / 0.698 GB Notification: Performance of Templates: time 0.002448/0.606, allocations: 0.8183 MB / 1.031 GB, free: 53.41 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)