Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 268 MB, free: 10.88 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.001766/0.001766, allocations: 177.2 kB / 327.6 MB, free: 2.105 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.586/1.586, allocations: 205.4 MB / 0.5786 GB, free: 20.21 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.0008487/0.0008488, allocations: 78 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003351, allocations: 10 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001891/0.2389, allocations: 1.485 MB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.24, allocations: 0.695 MB / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.2401, allocations: 0 / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2401, allocations: 11.92 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.2402, allocations: 15.86 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.2407, allocations: 153.1 kB / 0.9038 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.2408, allocations: 119.7 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.241, allocations: 37.09 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2411, allocations: 63.77 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.2412, allocations: 35.78 kB / 0.904 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2412, allocations: 4 kB / 0.904 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.2413, allocations: 35.97 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.2414, allocations: 31.89 kB / 0.9041 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.2414, allocations: 69.38 kB / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2415, allocations: 87.81 kB / 0.9042 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2416, allocations: 0 / 0.9042 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2416, allocations: 0 / 0.9042 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2416, allocations: 0 / 0.9042 GB, free: 60.67 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.0005077/0.2421, allocations: 423.3 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2421, allocations: 8.031 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.243, allocations: 144.7 kB / 0.9048 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2431, allocations: 182.1 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.2432, allocations: 67.88 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.2432, allocations: 8.375 kB / 0.905 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.2437, allocations: 197.6 kB / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2437, allocations: 0 / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2437, allocations: 4 kB / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2438, allocations: 0 / 0.9052 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.2443, allocations: 195.8 kB / 0.9054 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2454, allocations: 0.5094 MB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.2464, allocations: 266.3 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2467, allocations: 100.9 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.2467, allocations: 3.938 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2468, allocations: 34.56 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2468, allocations: 3.938 kB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001022/0.2478, allocations: 317.5 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.2479, allocations: 51.41 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.248, allocations: 140 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.248, allocations: 33.7 kB / 0.9068 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.2481, allocations: 108.1 kB / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2481, allocations: 23.73 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.2481, allocations: 0 / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.2482, allocations: 318.8 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2485, allocations: 99.91 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.2488, allocations: 106.4 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.2494, allocations: 198.4 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2494, allocations: 0 / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006325/0.2501, allocations: 237.4 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2501, allocations: 4 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2501, allocations: 3.984 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2501, allocations: 7.938 kB / 0.9079 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2504, allocations: 47.89 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2504, allocations: 4 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.2506, allocations: 35.88 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.2506, allocations: 4 kB / 0.9079 GB, free: 56.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.2507, allocations: 121.8 kB / 0.9081 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.2508, allocations: 7.906 kB / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.2514, allocations: 250.1 kB / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2515, allocations: 0 / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2515, allocations: 0 / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2515, allocations: 0 / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.2517, allocations: 230.8 kB / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2517, allocations: 0 / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2519, allocations: 47.95 kB / 0.9086 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2519, allocations: 0 / 0.9086 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2519, allocations: 7.938 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.252, allocations: 0 / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.252, allocations: 3.984 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.2526, allocations: 323.2 kB / 0.9089 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.2526, allocations: 84.95 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.2526, allocations: 7.938 kB / 0.909 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.2529, allocations: 51.89 kB / 0.909 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.253, allocations: 3.984 kB / 0.909 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.253, allocations: 7.984 kB / 0.909 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.2531, allocations: 103.3 kB / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2531, allocations: 0 / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002333/0.2533, allocations: 31.84 kB / 0.9092 GB, free: 55.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.2534, allocations: 103.2 kB / 0.9093 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.2541, allocations: 195.8 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2541, allocations: 0 / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.2544, allocations: 104 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2547, allocations: 9.891 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.2554, allocations: 335.1 kB / 0.9099 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2556, allocations: 0.7043 MB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.2557, allocations: 15.42 kB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2557, allocations: 0 / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.002677/0.2583, allocations: 1.59 MB / 0.9121 GB, free: 52.15 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)