Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") 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.786/1.786, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.0009618/0.0009619, allocations: 190 kB / 382.3 MB, free: 14.82 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.412/1.412, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0008129/0.0008131, allocations: 91.25 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5734, allocations: 119.2 MB / 1.022 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001578/0.5751, allocations: 1.155 MB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.5758, allocations: 0.5089 MB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.5758, allocations: 0.8438 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.5759, allocations: 3.938 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.5759, allocations: 3.953 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.5761, allocations: 18 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.5762, allocations: 32.97 kB / 1.024 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.5763, allocations: 5.109 kB / 1.024 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.5763, allocations: 11.5 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.5764, allocations: 11.16 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.5764, allocations: 1.781 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.5764, allocations: 19.59 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.5765, allocations: 1.359 kB / 1.024 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.5765, allocations: 40.59 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.5766, allocations: 28.64 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5766, allocations: 0 / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5766, allocations: 1.219 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5766, allocations: 0 / 1.024 GB, free: 57.4 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.0003649/0.577, allocations: 344.5 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.577, allocations: 9.25 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.5771, allocations: 2.844 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.5772, allocations: 174.9 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5772, allocations: 2.25 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.5772, allocations: 3.25 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.5774, allocations: 62.36 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5774, allocations: 0 / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5774, allocations: 2.469 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5774, allocations: 1.375 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.5776, allocations: 45.36 kB / 1.025 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.5779, allocations: 253.7 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.578, allocations: 47.08 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.5781, allocations: 27.89 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.5782, allocations: 83.08 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.5782, allocations: 30.56 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5782, allocations: 3.938 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.5786, allocations: 99.78 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.5786, allocations: 58.91 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.5787, allocations: 101.9 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.5787, allocations: 25.7 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.5787, allocations: 85.86 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.5787, allocations: 6.906 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5787, allocations: 1.25 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.5788, allocations: 317.4 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.5789, allocations: 23.19 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.579, allocations: 21.61 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5791, allocations: 57.5 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5791, allocations: 0 / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.5793, allocations: 81.89 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5793, allocations: 9.438 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5793, allocations: 0 / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5794, allocations: 4.562 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.5794, allocations: 11.44 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5795, allocations: 1.125 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.5795, allocations: 8.578 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5795, allocations: 3.438 kB / 1.026 GB, free: 55.62 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 (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.701e-05/0.5796, allocations: 115.2 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5796, allocations: 5.438 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.5799, allocations: 85.69 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5799, allocations: 0.75 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5799, allocations: 4.062 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5799, allocations: 0 / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.58, allocations: 165.4 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.58, allocations: 3.938 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.5801, allocations: 15.05 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5801, allocations: 0 / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.5801, allocations: 6.078 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5801, allocations: 0 / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5801, allocations: 3.719 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.5803, allocations: 178.5 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.5803, allocations: 77.77 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5804, allocations: 0.7031 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.5804, allocations: 11.77 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.5805, allocations: 2.516 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.5805, allocations: 1.938 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.5805, allocations: 84.97 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5805, allocations: 0 / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002019/0.5807, allocations: 13.02 kB / 1.027 GB, free: 54.91 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 (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.0001213/0.5809, allocations: 114.4 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5811, allocations: 52.42 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5811, allocations: 0 / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.5812, allocations: 21.75 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5814, allocations: 11.48 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.5817, allocations: 122.1 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.407e-05/0.5818, allocations: 0.6751 MB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.5818, allocations: 2.438 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.5818, allocations: 7.438 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/0.5818, allocations: 0 / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of Templates: time 0.002254/0.5841, allocations: 494.4 kB / 1.028 GB, free: 53.93 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)