Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8399/0.8399, allocations: 143.4 MB / 158.3 MB, free: 5.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 185 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 447.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 88.31 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 274.6 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005492/0.0005491, allocations: 19.16 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.619, allocations: 110.5 MB / 0.8816 GB, free: 31.89 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.6193, allocations: 79.8 kB / 0.8817 GB, free: 31.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.6336, allocations: 5.114 MB / 0.8866 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6337, allocations: 0 / 0.8866 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6337, allocations: 3.5 kB / 0.8867 GB, free: 31.31 MB / 0.5417 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.0005221/0.6342, allocations: 427.1 kB / 0.8871 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6343, allocations: 12.33 kB / 0.8871 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/0.635, allocations: 116.2 kB / 0.8872 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6352, allocations: 185.4 kB / 0.8874 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.6353, allocations: 68 kB / 0.8874 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.6353, allocations: 7.094 kB / 0.8874 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.6358, allocations: 184.8 kB / 0.8876 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6358, allocations: 0 / 0.8876 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.6359, allocations: 7.578 kB / 0.8876 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.6359, allocations: 0 / 0.8876 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.6365, allocations: 196.9 kB / 0.8878 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.6375, allocations: 0.5101 MB / 0.8883 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.6385, allocations: 272.2 kB / 0.8886 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.6385, allocations: 4.625 kB / 0.8886 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6386, allocations: 34.83 kB / 0.8886 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.6386, allocations: 7.984 kB / 0.8886 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.001022/0.6396, allocations: 307 kB / 0.8889 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.6396, allocations: 57.38 kB / 0.889 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.6397, allocations: 122.9 kB / 0.8891 GB, free: 30 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6398, allocations: 27.33 kB / 0.8891 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.6398, allocations: 110 kB / 0.8892 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.6398, allocations: 22.84 kB / 0.8892 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6398, allocations: 8.844 kB / 0.8892 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.6399, allocations: 323.5 kB / 0.8895 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6402, allocations: 91.16 kB / 0.8896 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.6405, allocations: 116.4 kB / 0.8897 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6408, allocations: 91.75 kB / 0.8898 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6408, allocations: 0 / 0.8898 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006247/0.6414, allocations: 233.6 kB / 0.89 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6415, allocations: 9.906 kB / 0.8901 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6415, allocations: 0.7969 kB / 0.8901 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6415, allocations: 2.969 kB / 0.8901 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.6418, allocations: 46.36 kB / 0.8901 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6418, allocations: 0 / 0.8901 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.642, allocations: 33.8 kB / 0.8901 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.642, allocations: 8.391 kB / 0.8901 GB, free: 29.44 MB / 0.5417 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.438e-05/0.6421, allocations: 119.8 kB / 0.8903 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.6421, allocations: 7.516 kB / 0.8903 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.6428, allocations: 247.5 kB / 0.8905 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6428, allocations: 0 / 0.8905 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6428, allocations: 0 / 0.8905 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.6428, allocations: 7.375 kB / 0.8905 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.643, allocations: 232 kB / 0.8907 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6431, allocations: 0.7031 kB / 0.8907 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.6433, allocations: 47.95 kB / 0.8908 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6433, allocations: 0 / 0.8908 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6433, allocations: 4.188 kB / 0.8908 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6433, allocations: 0.75 kB / 0.8908 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6433, allocations: 0 / 0.8908 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.644, allocations: 323.6 kB / 0.8911 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.644, allocations: 89.05 kB / 0.8912 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.644, allocations: 4.391 kB / 0.8912 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.6444, allocations: 43.84 kB / 0.8912 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.6444, allocations: 5.516 kB / 0.8912 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.6444, allocations: 5.406 kB / 0.8912 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.6445, allocations: 111.6 kB / 0.8913 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6445, allocations: 3.938 kB / 0.8913 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000245/0.6447, allocations: 26.25 kB / 0.8914 GB, free: 28.72 MB / 0.5417 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.0001021/0.6448, allocations: 98.11 kB / 0.8915 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.6455, allocations: 194.3 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6455, allocations: 4.062 kB / 0.8916 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.6458, allocations: 99.14 kB / 0.8917 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.646, allocations: 16.45 kB / 0.8918 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.6466, allocations: 293.7 kB / 0.892 GB, free: 28.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.6476, allocations: 0.7085 MB / 0.8927 GB, free: 43.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.6477, allocations: 15.98 kB / 0.8927 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.6477, allocations: 17.81 kB / 0.8928 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.6477, allocations: 0 / 0.8928 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of Templates: time 0.003359/0.6511, allocations: 1.314 MB / 0.894 GB, free: 43.63 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)