Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008638/0.0008636, allocations: 183.5 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4509/0.4509, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.262/1.262, allocations: 225.7 MB / 353.2 MB, free: 1.02 MB / 282.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.0007789/0.0007788, allocations: 94.92 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 12 kB / 0.4955 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2664, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006038/0.2671, allocations: 307.9 kB / 0.5655 GB, free: 42.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2683, allocations: 1.149 MB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.2683, allocations: 0 / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.2683, allocations: 0 / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2685, allocations: 21.3 kB / 0.5666 GB, free: 40.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.2685, allocations: 0 / 0.5666 GB, free: 40.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 2.914e-05/0.2685, allocations: 3.984 kB / 0.5666 GB, free: 40.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.2686, allocations: 9.062 kB / 0.5667 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.2686, allocations: 3.938 kB / 0.5667 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.2686, allocations: 0 / 0.5667 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-06/0.2687, allocations: 1.375 kB / 0.5667 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.2688, allocations: 23.86 kB / 0.5667 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.2688, allocations: 7.984 kB / 0.5667 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2688, allocations: 31.02 kB / 0.5667 GB, free: 40.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.525e-05/0.2689, allocations: 15.98 kB / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2689, allocations: 0 / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2689, allocations: 0 / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.2689, allocations: 0.6875 kB / 0.5667 GB, free: 40.77 MB / 410.7 MB 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.0001893/0.2691, allocations: 312.9 kB / 0.567 GB, free: 40.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2691, allocations: 8.031 kB / 0.567 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.2692, allocations: 8.844 kB / 0.567 GB, free: 40.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.312e-05/0.2692, allocations: 162.6 kB / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2692, allocations: 384 / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.2693, allocations: 4.312 kB / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.2694, allocations: 45.98 kB / 0.5673 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2694, allocations: 0 / 0.5673 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2694, allocations: 0 / 0.5673 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2694, allocations: 6.406 kB / 0.5673 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.2694, allocations: 4 kB / 0.5673 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.2696, allocations: 149.7 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.2697, allocations: 39.48 kB / 0.5674 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.2698, allocations: 8.859 kB / 0.5675 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2699, allocations: 84.64 kB / 0.5675 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.2699, allocations: 38.58 kB / 0.5676 GB, free: 39.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2699, allocations: 0 / 0.5676 GB, free: 39.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.003544/0.2735, allocations: 0.5736 MB / 0.5681 GB, free: 39.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2735, allocations: 55.34 kB / 0.5682 GB, free: 39.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.837e-05/0.2735, allocations: 89.86 kB / 0.5683 GB, free: 39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2736, allocations: 29.7 kB / 0.5683 GB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-06/0.2736, allocations: 84.14 kB / 0.5684 GB, free: 38.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2736, allocations: 19.66 kB / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.2736, allocations: 0 / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.2737, allocations: 314.8 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.2742, allocations: 83.95 kB / 0.5688 GB, free: 38.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.2747, allocations: 102.5 kB / 0.5689 GB, free: 38.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.2756, allocations: 190.4 kB / 0.5691 GB, free: 38.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2756, allocations: 0 / 0.5691 GB, free: 38.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001015/0.2766, allocations: 213.5 kB / 0.5693 GB, free: 37.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2766, allocations: 8.062 kB / 0.5693 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2767, allocations: 4 kB / 0.5693 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2767, allocations: 0 / 0.5693 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.277, allocations: 51.97 kB / 0.5693 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.277, allocations: 3.984 kB / 0.5693 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2773, allocations: 43.92 kB / 0.5694 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.2774, allocations: 0 / 0.5694 GB, free: 37.83 MB / 410.7 MB 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.429e-05/0.2774, allocations: 118.4 kB / 0.5695 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2775, allocations: 3.938 kB / 0.5695 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2787, allocations: 233.1 kB / 0.5697 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2787, allocations: 4 kB / 0.5697 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2787, allocations: 4 kB / 0.5697 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2787, allocations: 0 / 0.5697 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2799, allocations: 454.4 kB / 0.5701 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2799, allocations: 0 / 0.5701 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.2802, allocations: 47.97 kB / 0.5702 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2802, allocations: 0 / 0.5702 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2803, allocations: 4 kB / 0.5702 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2803, allocations: 0 / 0.5702 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2803, allocations: 432 / 0.5702 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2813, allocations: 315.6 kB / 0.5705 GB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2813, allocations: 85.02 kB / 0.5706 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2814, allocations: 0 / 0.5706 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.2817, allocations: 39.97 kB / 0.5706 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.2817, allocations: 11.92 kB / 0.5706 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2817, allocations: 0 / 0.5706 GB, free: 36.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.269e-05/0.2817, allocations: 75.28 kB / 0.5707 GB, free: 36.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2817, allocations: 0 / 0.5707 GB, free: 36.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.282, allocations: 20 kB / 0.5707 GB, free: 36.34 MB / 410.7 MB 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.0001271/0.2821, allocations: 111.2 kB / 0.5708 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2831, allocations: 183.8 kB / 0.571 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2831, allocations: 0 / 0.571 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.2836, allocations: 92.08 kB / 0.5711 GB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.2838, allocations: 9.562 kB / 0.5711 GB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.2847, allocations: 218.7 kB / 0.5713 GB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.318e-05/0.2848, allocations: 0.677 MB / 0.572 GB, free: 34.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.285, allocations: 24 kB / 0.572 GB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.2851, allocations: 19.42 kB / 0.572 GB, free: 34.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2851, allocations: 3.938 kB / 0.572 GB, free: 34.95 MB / 410.7 MB Notification: Performance of Templates: time 0.002143/0.2872, allocations: 0.7954 MB / 0.5728 GB, free: 34.16 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)