Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.948/2.948, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.002073/0.002073, allocations: 185.5 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.02/2.02, 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.0009536/0.0009533, allocations: 89.23 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006538, allocations: 14.95 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007968/0.224, allocations: 331.4 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2256, allocations: 1.11 MB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.2257, allocations: 0 / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.2257, allocations: 0 / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.226, allocations: 15.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.226, allocations: 7.938 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.926e-05/0.226, allocations: 7.984 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.2261, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.2261, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.2262, allocations: 7.938 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.2262, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2263, allocations: 19.98 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-06/0.2263, allocations: 7.922 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.2263, allocations: 25.7 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.328e-05/0.2264, allocations: 7.984 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2264, allocations: 4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2264, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2265, allocations: 0 / 0.9799 GB, free: 26.79 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.0002271/0.2267, allocations: 311.4 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2267, allocations: 8.031 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.2268, allocations: 0 / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.2269, allocations: 171 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2269, allocations: 7.938 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.2269, allocations: 4 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.2271, allocations: 33.7 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2271, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2271, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2271, allocations: 3.984 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.2272, allocations: 7.938 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.2273, allocations: 161.9 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2276, allocations: 30.58 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.2276, allocations: 12.94 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.2278, allocations: 81.11 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2278, allocations: 38.56 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.2278, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.007113/0.2349, allocations: 0.5676 MB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.235, allocations: 51.41 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.875e-05/0.2351, allocations: 93.8 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2351, allocations: 25.7 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.2351, allocations: 80.14 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.2352, allocations: 19.8 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.2352, allocations: 4 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.2353, allocations: 314.8 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2363, allocations: 83.95 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.2373, allocations: 98.53 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.2384, allocations: 87.95 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2384, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002145/0.2406, allocations: 217.5 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2406, allocations: 4 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2407, allocations: 4 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2407, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.2414, allocations: 48 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2414, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.242, allocations: 43.91 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2421, allocations: 8 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.2422, allocations: 109.8 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.2422, allocations: 7.906 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.2445, allocations: 233.1 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2445, allocations: 3.938 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2446, allocations: 0 / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2446, allocations: 0 / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.247, allocations: 459.1 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.247, allocations: 8.047 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.2477, allocations: 51.98 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2477, allocations: 3.984 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.2478, allocations: 0 / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-06/0.2478, allocations: 4 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2478, allocations: 0 / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.25, allocations: 311.3 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.25, allocations: 77.11 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.2501, allocations: 0 / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.2507, allocations: 39.98 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.2508, allocations: 7.984 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2508, allocations: 4 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.809e-05/0.2508, allocations: 75.28 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2508, allocations: 4 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003274/0.2512, allocations: 8 kB / 0.9837 GB, free: 22.48 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 (5): * Single equations (assignments): 5 * 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.0001917/0.2514, allocations: 111.1 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.2535, allocations: 183.9 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2536, allocations: 0 / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.2546, allocations: 92.08 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2549, allocations: 0 / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.2568, allocations: 222.6 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.257, allocations: 0.6809 MB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003693/0.2574, allocations: 32.19 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2575, allocations: 15.42 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.2575, allocations: 0 / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.003748/0.2613, allocations: 0.7886 MB / 0.9858 GB, free: 20.32 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)