Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 178.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 81.55 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 16.25 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2121, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001609/0.2137, allocations: 1.156 MB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.2146, allocations: 477.9 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.2147, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.2147, allocations: 3.938 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.2148, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.215, allocations: 19.98 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.2151, allocations: 31.86 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.2152, allocations: 7.984 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.2152, allocations: 11.98 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.996e-05/0.2153, allocations: 7.938 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2153, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.2154, allocations: 19.97 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.2154, allocations: 4 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.2154, allocations: 33.64 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.557e-05/0.2155, allocations: 15.95 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2155, allocations: 0 / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2155, allocations: 7.938 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2156, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 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.0004057/0.216, allocations: 347.5 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.216, allocations: 12.02 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.2161, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.2161, allocations: 167 kB / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2162, allocations: 0 / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2162, allocations: 4 kB / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.2164, allocations: 57.67 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2164, allocations: 0 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2165, allocations: 3.938 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2165, allocations: 0 / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.2167, allocations: 51.89 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.217, allocations: 248.9 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2172, allocations: 50.59 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2174, allocations: 20.91 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2175, allocations: 85.09 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2176, allocations: 34.56 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2176, allocations: 3.938 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005046/0.2181, allocations: 101.5 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2181, allocations: 59.36 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.2182, allocations: 101.9 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2182, allocations: 29.83 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.2183, allocations: 88.12 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.2183, allocations: 7.844 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2183, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.2184, allocations: 318.8 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2185, allocations: 15.98 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2187, allocations: 27.98 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.2188, allocations: 19.97 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2188, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000306/0.2191, allocations: 81.67 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2192, allocations: 5.562 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2192, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2192, allocations: 7.922 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2193, allocations: 8 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2193, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.2194, allocations: 23.97 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.2194, allocations: 0 / 0.982 GB, free: 24.4 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.2195, allocations: 105.8 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.2196, allocations: 4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.2199, allocations: 88.72 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2199, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2199, allocations: 3.984 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2199, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2201, allocations: 161.5 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2201, allocations: 0 / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.2202, allocations: 15.98 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2202, allocations: 3.984 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2202, allocations: 4.031 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2203, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2203, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.2206, allocations: 183.4 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.2206, allocations: 81.05 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2207, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2208, allocations: 7.984 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2208, allocations: 4 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.2208, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.2209, allocations: 91.52 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2209, allocations: 0 / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002899/0.2212, allocations: 16.03 kB / 0.9827 GB, free: 23.54 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.2213, allocations: 95.25 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.2217, allocations: 47.95 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2217, allocations: 4.062 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2218, allocations: 23.98 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2222, allocations: 9.672 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.2225, allocations: 116.6 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2226, allocations: 0.6848 MB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.2227, allocations: 3.984 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.2227, allocations: 7.438 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2227, allocations: 0 / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002916/0.2256, allocations: 478.6 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)