Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.393/2.393, 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.001572/0.001572, allocations: 185.9 kB / 325.6 MB, free: 2.816 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.491/2.491, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001163/0.001163, allocations: 96.16 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 12.84 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002309/0.2358, allocations: 1.455 MB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2372, allocations: 0.641 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.2373, allocations: 4 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2374, allocations: 7.922 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.2375, allocations: 11.98 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.2383, allocations: 151.9 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.2384, allocations: 71.84 kB / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2386, allocations: 33.28 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2388, allocations: 51.83 kB / 0.9012 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.2389, allocations: 31.84 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2389, allocations: 4 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.239, allocations: 43.89 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.2391, allocations: 11.98 kB / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2391, allocations: 41.64 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2393, allocations: 95.81 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2393, allocations: 0 / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2394, allocations: 0 / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2394, allocations: 0 / 0.9015 GB, free: 62.83 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006682/0.24, allocations: 427.1 kB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2401, allocations: 12.03 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.2415, allocations: 151.5 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2417, allocations: 177.2 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2419, allocations: 63.39 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.2419, allocations: 12 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.2428, allocations: 187.7 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2428, allocations: 0 / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.2429, allocations: 11.89 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2429, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.244, allocations: 195.8 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.2457, allocations: 0.494 MB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.2476, allocations: 266.3 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.2477, allocations: 4 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2477, allocations: 34.56 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.2477, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.00183/0.2496, allocations: 317.6 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2497, allocations: 51.41 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2498, allocations: 145.7 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.2499, allocations: 29.7 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2499, allocations: 112.1 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.25, allocations: 15.81 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.25, allocations: 4 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.2501, allocations: 318.8 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.2506, allocations: 87.92 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.2512, allocations: 118.5 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2517, allocations: 87.94 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2518, allocations: 0 / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001188/0.253, allocations: 237.5 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.253, allocations: 16 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.253, allocations: 64 / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.2531, allocations: 4 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2536, allocations: 51.89 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2536, allocations: 4.109 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.2539, allocations: 39.89 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.254, allocations: 7.984 kB / 0.905 GB, free: 58.98 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 (8): * Single equations (assignments): 8 * 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 0.000129/0.2541, allocations: 114.4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.2542, allocations: 11.91 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2554, allocations: 238.2 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.2555, allocations: 0 / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2555, allocations: 7.984 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2555, allocations: 3.953 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.2559, allocations: 234.2 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2559, allocations: 4 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.2563, allocations: 39.95 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2563, allocations: 0 / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2563, allocations: 3.984 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2564, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2564, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2576, allocations: 331.2 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.2577, allocations: 88.92 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.2577, allocations: 0 / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.2583, allocations: 43.95 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2584, allocations: 7.984 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.2584, allocations: 7.984 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.816e-05/0.2585, allocations: 109.1 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2585, allocations: 0 / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003603/0.2589, allocations: 27.94 kB / 0.9062 GB, free: 57.64 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 (6): * Single equations (assignments): 6 * 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.0001418/0.259, allocations: 95.25 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.2602, allocations: 208 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2602, allocations: 3.938 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.2608, allocations: 99.91 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2611, allocations: 8.062 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2622, allocations: 305.3 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2624, allocations: 0.7004 MB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2625, allocations: 19.92 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.2626, allocations: 11.44 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2627, allocations: 0 / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.004932/0.2676, allocations: 1.309 MB / 0.9089 GB, free: 54.84 MB / 0.6042 GB