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.274/1.274, allocations: 252 MB / 267.9 MB, free: 10.93 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.00092/0.00092, allocations: 174.2 kB / 327.5 MB, free: 2.156 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.421/1.421, allocations: 205.4 MB / 0.5785 GB, free: 20.45 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.0007031/0.0007032, allocations: 91.98 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 13.41 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.3129, allocations: 133.6 MB / 1.032 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3132, allocations: 79.95 kB / 1.032 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.327, allocations: 5.081 MB / 1.037 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3271, allocations: 0 / 1.037 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3271, allocations: 0 / 1.037 GB, free: 5.141 MB / 0.6823 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.0004632/0.3275, allocations: 435 kB / 1.037 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3276, allocations: 8.031 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/0.3282, allocations: 120.6 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3283, allocations: 177.3 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.3284, allocations: 63.95 kB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3285, allocations: 8.375 kB / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.3289, allocations: 190 kB / 1.038 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.329, allocations: 3.938 kB / 1.038 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.329, allocations: 12 kB / 1.038 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.329, allocations: 0 / 1.038 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.3295, allocations: 191.8 kB / 1.038 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.3305, allocations: 0.5095 MB / 1.038 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/0.3314, allocations: 266.3 kB / 1.039 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.3317, allocations: 100.9 kB / 1.039 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3317, allocations: 0 / 1.039 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3318, allocations: 42.5 kB / 1.039 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3318, allocations: 4 kB / 1.039 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0009056/0.3327, allocations: 313.5 kB / 1.039 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3327, allocations: 55.34 kB / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.3328, allocations: 136.1 kB / 1.039 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3329, allocations: 25.7 kB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.3329, allocations: 120 kB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3329, allocations: 15.8 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.333, allocations: 4 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.3331, allocations: 326.8 kB / 1.04 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.3333, allocations: 87.92 kB / 1.04 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3336, allocations: 110.5 kB / 1.04 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.3342, allocations: 202.4 kB / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3342, allocations: 0 / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005954/0.3348, allocations: 229.4 kB / 1.04 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3348, allocations: 12.05 kB / 1.04 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3348, allocations: 4 kB / 1.04 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3348, allocations: 0 / 1.04 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3351, allocations: 51.83 kB / 1.04 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3351, allocations: 4 kB / 1.04 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3353, allocations: 39.81 kB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3353, allocations: 7.984 kB / 1.04 GB, free: 1.082 MB / 0.6823 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 7.998e-05/0.3354, allocations: 113.8 kB / 1.041 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.3354, allocations: 7.906 kB / 1.041 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.336, allocations: 238.2 kB / 1.041 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3361, allocations: 7.875 kB / 1.041 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3361, allocations: 0 / 1.041 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3361, allocations: 0 / 1.041 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3363, allocations: 238.3 kB / 1.041 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3363, allocations: 0 / 1.041 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.3365, allocations: 43.95 kB / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3365, allocations: 0 / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3365, allocations: 4 kB / 1.041 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3365, allocations: 4.312 kB / 1.041 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3366, allocations: 0 / 1.041 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.3372, allocations: 327.3 kB / 1.041 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.3372, allocations: 81.02 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3373, allocations: 0 / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3375, allocations: 51.88 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3376, allocations: 7.938 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.3376, allocations: 11.98 kB / 1.042 GB, free: 15.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.3377, allocations: 105.2 kB / 1.042 GB, free: 15.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.222e-06/0.3377, allocations: 0 / 1.042 GB, free: 15.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002382/0.3379, allocations: 35.78 kB / 1.042 GB, free: 15.73 MB / 0.698 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.0001108/0.338, allocations: 99.23 kB / 1.042 GB, free: 15.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.3386, allocations: 195.8 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3386, allocations: 4.125 kB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3389, allocations: 95.91 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3392, allocations: 18.59 kB / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.3398, allocations: 297.4 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.34, allocations: 0.7004 MB / 1.043 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.905e-05/0.3401, allocations: 15.75 kB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.3402, allocations: 15.42 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.3402, allocations: 0 / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of Templates: time 0.003122/0.3433, allocations: 1.338 MB / 1.044 GB, free: 12.91 MB / 0.698 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)