Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 174.8 kB / 16.08 MB, free: 5.73 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.4875/0.4875, allocations: 89.07 MB / 105.9 MB, free: 12.44 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.272/1.272, allocations: 225.7 MB / 353.2 MB, free: 1.094 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.0008105/0.0008102, allocations: 97.98 kB / 425.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 8 kB / 0.4955 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2954, allocations: 71.34 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001304/0.2967, allocations: 1.167 MB / 0.5663 GB, free: 41.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.2975, allocations: 0.8304 MB / 0.5671 GB, free: 40.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2975, allocations: 0 / 0.5671 GB, free: 40.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.2975, allocations: 4 kB / 0.5672 GB, free: 40.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.2976, allocations: 8.984 kB / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.2978, allocations: 35.91 kB / 0.5672 GB, free: 40.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.2979, allocations: 25.23 kB / 0.5672 GB, free: 40.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.2979, allocations: 7.938 kB / 0.5672 GB, free: 40.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.298, allocations: 20.62 kB / 0.5672 GB, free: 40.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.2981, allocations: 12.53 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.2981, allocations: 0 / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.2982, allocations: 48.95 kB / 0.5673 GB, free: 40.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.2982, allocations: 3.938 kB / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2982, allocations: 45.61 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2983, allocations: 62.14 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2984, allocations: 0 / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2984, allocations: 0 / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.2984, allocations: 0 / 0.5674 GB, free: 39.96 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.0003088/0.2987, allocations: 350.4 kB / 0.5677 GB, free: 39.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2987, allocations: 11.97 kB / 0.5678 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.2988, allocations: 12.38 kB / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.2989, allocations: 164.4 kB / 0.5679 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2989, allocations: 384 / 0.5679 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2989, allocations: 384 / 0.5679 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.299, allocations: 46 kB / 0.568 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.299, allocations: 4 kB / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.299, allocations: 0 / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.299, allocations: 0 / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.2991, allocations: 31.97 kB / 0.568 GB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.2994, allocations: 260.8 kB / 0.5683 GB, free: 38.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.93e-05/0.2994, allocations: 34.56 kB / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.2995, allocations: 20.86 kB / 0.5683 GB, free: 38.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.3002, allocations: 0.4897 MB / 0.5688 GB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3002, allocations: 34.56 kB / 0.5688 GB, free: 38.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.3002, allocations: 0 / 0.5688 GB, free: 38.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.3004, allocations: 73.55 kB / 0.5689 GB, free: 38.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.3004, allocations: 59.41 kB / 0.5689 GB, free: 38.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.3005, allocations: 105.8 kB / 0.569 GB, free: 38.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.3005, allocations: 25.7 kB / 0.5691 GB, free: 37.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.3005, allocations: 84.14 kB / 0.5692 GB, free: 37.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.3005, allocations: 11.89 kB / 0.5692 GB, free: 37.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.3006, allocations: 0 / 0.5692 GB, free: 37.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.3006, allocations: 315 kB / 0.5695 GB, free: 37.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.3006, allocations: 12 kB / 0.5695 GB, free: 37.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.3007, allocations: 11.98 kB / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.3007, allocations: 32.78 kB / 0.5695 GB, free: 37.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3008, allocations: 0 / 0.5695 GB, free: 37.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.263e-05/0.3009, allocations: 69.59 kB / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.3009, allocations: 4 kB / 0.5696 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3009, allocations: 4 kB / 0.5696 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3009, allocations: 0 / 0.5696 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.301, allocations: 7.984 kB / 0.5696 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.301, allocations: 0 / 0.5696 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.301, allocations: 4 kB / 0.5696 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.301, allocations: 4.031 kB / 0.5696 GB, free: 37.41 MB / 410.7 MB 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 (2): * Single equations (assignments): 2 * 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 4.573e-05/0.3011, allocations: 117.7 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.3011, allocations: 3.984 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3012, allocations: 69.14 kB / 0.5698 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3013, allocations: 0 / 0.5698 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3013, allocations: 0 / 0.5698 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3013, allocations: 4.031 kB / 0.5698 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3014, allocations: 165.6 kB / 0.57 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3014, allocations: 0 / 0.57 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.3014, allocations: 7.984 kB / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3014, allocations: 0 / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.3015, allocations: 4 kB / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3015, allocations: 0 / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3015, allocations: 0 / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3016, allocations: 159.4 kB / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.3016, allocations: 81.09 kB / 0.5702 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3016, allocations: 4 kB / 0.5702 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.3017, allocations: 3.938 kB / 0.5702 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.3017, allocations: 7.938 kB / 0.5702 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3017, allocations: 3.938 kB / 0.5702 GB, free: 36.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.3018, allocations: 91.25 kB / 0.5703 GB, free: 36.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 4.031 kB / 0.5703 GB, free: 36.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.302, allocations: 12 kB / 0.5703 GB, free: 36.58 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 (2): * Single equations (assignments): 2 * 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.0001314/0.3021, allocations: 123.2 kB / 0.5704 GB, free: 36.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3022, allocations: 23.98 kB / 0.5705 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3022, allocations: 0 / 0.5705 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/0.3023, allocations: 20.05 kB / 0.5705 GB, free: 36.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.3025, allocations: 11.84 kB / 0.5705 GB, free: 36.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.3027, allocations: 138.3 kB / 0.5706 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3028, allocations: 0.6809 MB / 0.5713 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.3028, allocations: 4 kB / 0.5713 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.3029, allocations: 15.5 kB / 0.5713 GB, free: 35.51 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3029, allocations: 0 / 0.5713 GB, free: 35.51 MB / 410.7 MB Notification: Performance of Templates: time 0.002174/0.305, allocations: 0.6192 MB / 0.5719 GB, free: 34.89 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)