Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 183.3 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007428/0.0007427, allocations: 95.92 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 15.69 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008211/0.2541, allocations: 334.3 kB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2555, allocations: 1.122 MB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2555, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2555, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.2558, allocations: 19.92 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.2558, allocations: 0 / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.344e-05/0.2559, allocations: 0 / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.2559, allocations: 4 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.256, allocations: 0 / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.256, allocations: 15.92 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.256, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.2561, allocations: 15.97 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-06/0.2561, allocations: 4 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.2562, allocations: 29.64 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.599e-05/0.2562, allocations: 4 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2562, allocations: 0 / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2562, allocations: 0 / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2562, allocations: 0 / 0.9023 GB, free: 62.33 MB / 0.6042 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.0002321/0.2565, allocations: 323.3 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2565, allocations: 8.031 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.2566, allocations: 4 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.2566, allocations: 163 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2566, allocations: 0 / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.2567, allocations: 4 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.2568, allocations: 33.69 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2568, allocations: 3.984 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.2568, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2568, allocations: 8 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.2569, allocations: 11.92 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.257, allocations: 153.6 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.2573, allocations: 34.61 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.2573, allocations: 8.859 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.2575, allocations: 85.19 kB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2576, allocations: 38.56 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.357e-06/0.2576, allocations: 0 / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.003967/0.2615, allocations: 0.5675 MB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2616, allocations: 55.41 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.239e-05/0.2616, allocations: 89.86 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2616, allocations: 25.7 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.743e-05/0.2617, allocations: 88.08 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.2617, allocations: 15.94 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.2617, allocations: 4 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2618, allocations: 322.8 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.2624, allocations: 79.95 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.2629, allocations: 102.5 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.2634, allocations: 87.95 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2634, allocations: 0 / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001072/0.2645, allocations: 209.6 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2645, allocations: 12.06 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2645, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2646, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2649, allocations: 51.97 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2649, allocations: 3.984 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.2653, allocations: 39.98 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2653, allocations: 0 / 0.9049 GB, free: 59.49 MB / 0.6042 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 8.069e-05/0.2654, allocations: 125.7 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2654, allocations: 0 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2666, allocations: 229.1 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.2667, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2667, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2667, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.268, allocations: 454.7 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.268, allocations: 0 / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.2684, allocations: 55.97 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2684, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2684, allocations: 4 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2684, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2684, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2695, allocations: 311.2 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.2696, allocations: 81.11 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2696, allocations: 0 / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2699, allocations: 44.33 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.27, allocations: 8 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.27, allocations: 0 / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.562e-05/0.27, allocations: 75.28 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.27, allocations: 0 / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002321/0.2703, allocations: 15.98 kB / 0.9062 GB, free: 58 MB / 0.6042 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.0001822/0.2705, allocations: 111.1 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.2716, allocations: 175.9 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2716, allocations: 0 / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.2721, allocations: 96.06 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2724, allocations: 4 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2734, allocations: 236.4 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2736, allocations: 0.6809 MB / 0.9075 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.2737, allocations: 11.44 kB / 0.9075 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2737, allocations: 0 / 0.9075 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.002605/0.2763, allocations: 1.103 MB / 0.9086 GB, free: 55.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)