Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 181.8 kB / 16.08 MB, free: 5.52 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.4482/0.4482, allocations: 89.07 MB / 105.9 MB, free: 12.46 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.252/1.252, allocations: 225.7 MB / 353.2 MB, free: 1.109 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.0007275/0.0007276, allocations: 94.89 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 11.98 kB / 0.4955 GB, free: 4.551 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2922, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001305/0.2935, allocations: 1.149 MB / 0.5663 GB, free: 41.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.2941, allocations: 0.4978 MB / 0.5668 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.2942, allocations: 1.344 kB / 0.5668 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.2942, allocations: 7.875 kB / 0.5668 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.2943, allocations: 4 kB / 0.5668 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.2944, allocations: 17.23 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.2945, allocations: 23.98 kB / 0.5669 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.2946, allocations: 0 / 0.5669 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.2946, allocations: 12.5 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.2947, allocations: 17.62 kB / 0.5669 GB, free: 40.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.2947, allocations: 0 / 0.5669 GB, free: 40.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.2948, allocations: 19.98 kB / 0.5669 GB, free: 40.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.2948, allocations: 4 kB / 0.5669 GB, free: 40.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2948, allocations: 33.62 kB / 0.5669 GB, free: 40.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.289e-05/0.2949, allocations: 32.86 kB / 0.567 GB, free: 40.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2949, allocations: 0 / 0.567 GB, free: 40.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2949, allocations: 4.594 kB / 0.567 GB, free: 40.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2949, allocations: 0 / 0.567 GB, free: 40.51 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.000325/0.2953, allocations: 348 kB / 0.5673 GB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.2953, allocations: 8.031 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.2953, allocations: 4.938 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.394e-05/0.2954, allocations: 177.8 kB / 0.5675 GB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2954, allocations: 384 / 0.5675 GB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2955, allocations: 8.359 kB / 0.5675 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2956, allocations: 61.98 kB / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2956, allocations: 0 / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.2956, allocations: 0 / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2957, allocations: 0 / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.2958, allocations: 43.97 kB / 0.5676 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.2961, allocations: 256.8 kB / 0.5678 GB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.2962, allocations: 42.56 kB / 0.5679 GB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.2962, allocations: 32.89 kB / 0.5679 GB, free: 39.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.2963, allocations: 77.11 kB / 0.568 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2964, allocations: 42.5 kB / 0.568 GB, free: 39.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2964, allocations: 0 / 0.568 GB, free: 39.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003141/0.2967, allocations: 97.58 kB / 0.5681 GB, free: 39.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2967, allocations: 51.41 kB / 0.5682 GB, free: 39.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.2968, allocations: 109.8 kB / 0.5683 GB, free: 38.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.2968, allocations: 25.7 kB / 0.5683 GB, free: 38.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.2968, allocations: 84.27 kB / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2968, allocations: 7.906 kB / 0.5684 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.2968, allocations: 4 kB / 0.5684 GB, free: 38.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.2969, allocations: 314.8 kB / 0.5687 GB, free: 38.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.297, allocations: 19.97 kB / 0.5687 GB, free: 38.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.297, allocations: 28 kB / 0.5687 GB, free: 38.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2972, allocations: 48.77 kB / 0.5688 GB, free: 38.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2972, allocations: 0 / 0.5688 GB, free: 38.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001616/0.2974, allocations: 85.56 kB / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2974, allocations: 8 kB / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2974, allocations: 0 / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2974, allocations: 0 / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.2975, allocations: 11.98 kB / 0.5689 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2975, allocations: 4.031 kB / 0.5689 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.2975, allocations: 11.98 kB / 0.5689 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2975, allocations: 0 / 0.5689 GB, free: 38.31 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 3.92e-05/0.2976, allocations: 113.8 kB / 0.569 GB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.2976, allocations: 4 kB / 0.569 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.2978, allocations: 80.78 kB / 0.5691 GB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2978, allocations: 7.875 kB / 0.5691 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2978, allocations: 0 / 0.5691 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2978, allocations: 0 / 0.5691 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.2979, allocations: 165.6 kB / 0.5692 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2979, allocations: 0 / 0.5692 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.298, allocations: 8 kB / 0.5693 GB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.298, allocations: 12.02 kB / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.298, allocations: 0 / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.298, allocations: 0 / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.298, allocations: 0 / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.2982, allocations: 179.4 kB / 0.5694 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.2982, allocations: 85.02 kB / 0.5695 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2983, allocations: 4 kB / 0.5695 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.2983, allocations: 7.984 kB / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2984, allocations: 4 kB / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2984, allocations: 0 / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.2984, allocations: 83.53 kB / 0.5696 GB, free: 37.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 7.969 kB / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000194/0.2986, allocations: 4 kB / 0.5696 GB, free: 37.46 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 9.752e-05/0.2987, allocations: 113.1 kB / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.2989, allocations: 47.97 kB / 0.5698 GB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2989, allocations: 0 / 0.5698 GB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.299, allocations: 23.97 kB / 0.5698 GB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2992, allocations: 15.84 kB / 0.5698 GB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.2995, allocations: 113 kB / 0.5699 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.445e-05/0.2995, allocations: 0.6809 MB / 0.5706 GB, free: 36.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.2996, allocations: 7.984 kB / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.2996, allocations: 7.438 kB / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2996, allocations: 0 / 0.5706 GB, free: 36.39 MB / 410.7 MB Notification: Performance of Templates: time 0.001917/0.3015, allocations: 484 kB / 0.5711 GB, free: 35.92 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)