Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.494/2.494, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 187 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 98.28 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006425, allocations: 12.69 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2685, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002462/0.271, allocations: 1.163 MB / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2724, allocations: 486.9 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.2725, allocations: 0 / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2725, allocations: 0 / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.2726, allocations: 3.984 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2729, allocations: 19.98 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.273, allocations: 15.92 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2731, allocations: 11.92 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.2732, allocations: 8 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.2732, allocations: 11.92 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2733, allocations: 4 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.2734, allocations: 19.97 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.2734, allocations: 0 / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2735, allocations: 25.7 kB / 0.9006 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.2736, allocations: 27.97 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2736, allocations: 0 / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2736, allocations: 0 / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2736, allocations: 3.938 kB / 0.9006 GB, free: 63.69 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.0005748/0.2742, allocations: 339.3 kB / 0.9009 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2743, allocations: 8.031 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2743, allocations: 3.953 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2745, allocations: 179.1 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2745, allocations: 8 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2745, allocations: 0 / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2749, allocations: 53.67 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2749, allocations: 0 / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2749, allocations: 0 / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2749, allocations: 4 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.2753, allocations: 43.97 kB / 0.9012 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.2758, allocations: 256.9 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.2761, allocations: 46.5 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.2763, allocations: 89.14 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2764, allocations: 30.56 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.535e-06/0.2764, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007231/0.2771, allocations: 101.6 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2772, allocations: 59.3 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.2773, allocations: 101.9 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2773, allocations: 29.64 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.2774, allocations: 88.12 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2774, allocations: 8.031 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.2775, allocations: 0 / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.2776, allocations: 314.8 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.2778, allocations: 19.98 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.278, allocations: 27.97 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.2782, allocations: 19.98 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2783, allocations: 0 / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000461/0.2787, allocations: 77.73 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.2788, allocations: 4 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2788, allocations: 3.984 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2788, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.279, allocations: 11.94 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2791, allocations: 3.953 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2792, allocations: 11.98 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2792, allocations: 4.031 kB / 0.9025 GB, free: 61.55 MB / 0.6042 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 9.519e-05/0.2793, allocations: 109.8 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.2794, allocations: 7.906 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.2799, allocations: 84.78 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2799, allocations: 3.984 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.28, allocations: 0 / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.28, allocations: 7.891 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2803, allocations: 153.7 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2803, allocations: 0 / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.2804, allocations: 15.98 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2805, allocations: 0 / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2805, allocations: 0 / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2805, allocations: 3.938 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2805, allocations: 4.031 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.281, allocations: 175.5 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.2811, allocations: 77.11 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2811, allocations: 4.031 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.2813, allocations: 7.984 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.2814, allocations: 4 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2814, allocations: 256 / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.2815, allocations: 91.2 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/0.2815, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005571/0.2821, allocations: 12 kB / 0.9032 GB, free: 60.7 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 (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.0002088/0.2823, allocations: 103.2 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.2828, allocations: 51.89 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2828, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.283, allocations: 28.05 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.2834, allocations: 7.953 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2838, allocations: 108.6 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.284, allocations: 0.677 MB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.84e-05/0.2841, allocations: 8.047 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.2841, allocations: 11.44 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.2842, allocations: 0 / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.003622/0.2878, allocations: 477.8 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB