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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.353/2.353, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.00136/0.001359, allocations: 180.6 kB / 325.8 MB, free: 2.805 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.409/2.409, allocations: 205.4 MB / 0.5767 GB, free: 20.8 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.001496/0.001496, allocations: 84 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 11.94 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2106, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002184/0.2128, allocations: 1.47 MB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2142, allocations: 0.6527 MB / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.2143, allocations: 7.938 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2143, allocations: 7.922 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.2144, allocations: 11.88 kB / 0.9011 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.2151, allocations: 139.9 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.2153, allocations: 111.6 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2154, allocations: 37.3 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2156, allocations: 51.83 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.2157, allocations: 31.84 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.2157, allocations: 4 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2159, allocations: 43.95 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.2159, allocations: 23.91 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.2159, allocations: 37.64 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2161, allocations: 99.81 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2161, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2161, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2161, allocations: 0 / 0.9017 GB, free: 62.71 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.0006201/0.2168, allocations: 419.4 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2168, allocations: 8.031 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2182, allocations: 144.6 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2184, allocations: 184.2 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2185, allocations: 67.95 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.2185, allocations: 8.375 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.2194, allocations: 191.5 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2194, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.2194, allocations: 8 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2195, allocations: 0 / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2206, allocations: 199.8 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2222, allocations: 0.4978 MB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.2241, allocations: 270.3 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.2247, allocations: 100.9 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.2247, allocations: 4 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2247, allocations: 34.56 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.736e-06/0.2248, allocations: 0 / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001834/0.2266, allocations: 317.4 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2267, allocations: 63.34 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2268, allocations: 135.7 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2269, allocations: 25.7 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/0.2269, allocations: 112.1 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.227, allocations: 19.8 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.227, allocations: 0 / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.2271, allocations: 314.8 kB / 0.9047 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.2277, allocations: 95.91 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.2282, allocations: 110.5 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.2288, allocations: 91.92 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2288, allocations: 0 / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001221/0.23, allocations: 249.6 kB / 0.9052 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2301, allocations: 7.938 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2301, allocations: 3.938 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2301, allocations: 4 kB / 0.9052 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.2306, allocations: 43.95 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2306, allocations: 0 / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.231, allocations: 35.91 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.231, allocations: 3.984 kB / 0.9053 GB, free: 58.77 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.0001297/0.2311, allocations: 121.8 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.2312, allocations: 7.906 kB / 0.9054 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.2325, allocations: 250.1 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2325, allocations: 0 / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2325, allocations: 3.938 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2325, allocations: 0 / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.2328, allocations: 234.2 kB / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2328, allocations: 0 / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.2333, allocations: 39.95 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2333, allocations: 4 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2333, allocations: 7.938 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2334, allocations: 0 / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2334, allocations: 4 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2346, allocations: 319.2 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.2346, allocations: 88.92 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2346, allocations: 7.922 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.2352, allocations: 43.95 kB / 0.9064 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.2353, allocations: 8 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.2353, allocations: 8.172 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.2354, allocations: 100.1 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2354, allocations: 0 / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003442/0.2357, allocations: 27.92 kB / 0.9065 GB, free: 57.42 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.0001261/0.2359, allocations: 99.25 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2371, allocations: 207.7 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2371, allocations: 0 / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.2376, allocations: 100 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.2381, allocations: 8 kB / 0.9069 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.239, allocations: 301.4 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2391, allocations: 0.7092 MB / 0.9079 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2393, allocations: 19.75 kB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.2394, allocations: 19.42 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.2394, allocations: 0 / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.004576/0.244, allocations: 1.307 MB / 0.9092 GB, free: 54.61 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)