Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") 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.789/1.789, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.0008847/0.0008848, allocations: 186.1 kB / 382.3 MB, free: 14.83 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.354/1.354, allocations: 225.7 MB / 0.6617 GB, free: 7.129 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.000736/0.000736, allocations: 89.84 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004305, allocations: 12 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.614, allocations: 119.2 MB / 1.022 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008423/0.6149, allocations: 329 kB / 1.023 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.6164, allocations: 1.146 MB / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.6165, allocations: 0 / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.6165, allocations: 0.625 kB / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.6167, allocations: 22.8 kB / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.6167, allocations: 0 / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.224e-05/0.6168, allocations: 4.188 kB / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.6168, allocations: 6.031 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.6168, allocations: 6.953 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.6169, allocations: 2.219 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.6169, allocations: 1.375 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.617, allocations: 25.58 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-06/0.617, allocations: 2.547 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.617, allocations: 26.31 kB / 1.024 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.6171, allocations: 19.55 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6171, allocations: 0 / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6171, allocations: 1.375 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.6171, allocations: 1.25 kB / 1.024 GB, free: 57.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001925/0.6173, allocations: 313.6 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6174, allocations: 10.22 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.6174, allocations: 0.9375 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.196e-05/0.6175, allocations: 165 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6175, allocations: 384 / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.6175, allocations: 5.75 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.6176, allocations: 41.28 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6177, allocations: 3.5 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.6177, allocations: 2.25 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6177, allocations: 0 / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.6177, allocations: 3.891 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.6179, allocations: 156 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.618, allocations: 40.3 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.6181, allocations: 11.11 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.6182, allocations: 83.78 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.6182, allocations: 40.39 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6182, allocations: 3.25 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.003707/0.622, allocations: 0.5684 MB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.622, allocations: 52.78 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.866e-05/0.622, allocations: 89.86 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.622, allocations: 25.7 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.08e-05/0.622, allocations: 80.14 kB / 1.025 GB, free: 56.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.6221, allocations: 17.73 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.6221, allocations: 4 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.6222, allocations: 312.2 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.6227, allocations: 82.11 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.6232, allocations: 107.6 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.6241, allocations: 197.6 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6241, allocations: 1.188 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001006/0.6251, allocations: 209.4 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6251, allocations: 10.33 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6252, allocations: 2.875 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6252, allocations: 0 / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.6255, allocations: 49.88 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6255, allocations: 0.6562 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.6258, allocations: 46 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6258, allocations: 5.547 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.384e-05/0.6259, allocations: 116.9 kB / 1.027 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.6259, allocations: 15.3 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.6271, allocations: 231.8 kB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6272, allocations: 0 / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6272, allocations: 1.594 kB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6272, allocations: 0.7969 kB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.6285, allocations: 463.1 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6285, allocations: 0 / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.6288, allocations: 56.73 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6288, allocations: 0 / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6289, allocations: 0.5156 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6289, allocations: 0.6094 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6289, allocations: 0 / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6299, allocations: 305.8 kB / 1.028 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.63, allocations: 81.81 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.63, allocations: 1.219 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.6303, allocations: 38.14 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.6304, allocations: 9.266 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.6304, allocations: 2.109 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.528e-05/0.6304, allocations: 76.41 kB / 1.028 GB, free: 54.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6304, allocations: 0 / 1.028 GB, free: 54.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000246/0.6306, allocations: 9.625 kB / 1.028 GB, free: 54.69 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 (5): * Single equations (assignments): 5 * 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 0.0001633/0.6308, allocations: 108.1 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.6319, allocations: 187.2 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6319, allocations: 0 / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.6325, allocations: 92.5 kB / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.6327, allocations: 2.094 kB / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/0.6336, allocations: 229.2 kB / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.6338, allocations: 0.6752 MB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.634, allocations: 28.73 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.6341, allocations: 12.19 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6341, allocations: 0 / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of Templates: time 0.002628/0.6367, allocations: 0.8053 MB / 1.03 GB, free: 53.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)