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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007894, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008922, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 267.2 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 15.5 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 88.55 MB / 0.6845 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001999/0.1707, allocations: 1.438 MB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1719, allocations: 0.6171 MB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1719, allocations: 0 / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.172, allocations: 7.938 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.172, allocations: 11.86 kB / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1725, allocations: 141.9 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1727, allocations: 103.7 kB / 0.6867 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1728, allocations: 44.45 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1729, allocations: 51.83 kB / 0.6868 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.173, allocations: 36.69 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1731, allocations: 4 kB / 0.6869 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.1732, allocations: 43.36 kB / 0.6869 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.1732, allocations: 19.92 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1732, allocations: 41.64 kB / 0.687 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1734, allocations: 96.03 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1734, allocations: 0 / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1734, allocations: 0 / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1734, allocations: 3.938 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB 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.000622/0.174, allocations: 420.6 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1741, allocations: 8.031 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.1749, allocations: 150 kB / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1751, allocations: 178.9 kB / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1752, allocations: 73.19 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1753, allocations: 4 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.1758, allocations: 195.7 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1758, allocations: 0 / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.1759, allocations: 4.531 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1759, allocations: 3.953 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.1765, allocations: 197.8 kB / 0.6883 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1777, allocations: 0.4901 MB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.1786, allocations: 270.3 kB / 0.689 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.1789, allocations: 96.91 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.179, allocations: 4 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.179, allocations: 42.48 kB / 0.6891 GB, free: 10.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.179, allocations: 0 / 0.6891 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009666/0.18, allocations: 305.5 kB / 0.6894 GB, free: 10.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1801, allocations: 59.41 kB / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1802, allocations: 143.4 kB / 0.6896 GB, free: 9.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1802, allocations: 29.7 kB / 0.6896 GB, free: 9.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.1803, allocations: 104.3 kB / 0.6897 GB, free: 9.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.1804, allocations: 23.66 kB / 0.6898 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.1804, allocations: 0 / 0.6898 GB, free: 9.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1805, allocations: 318.8 kB / 0.6901 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1808, allocations: 95.92 kB / 0.6902 GB, free: 9.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.1811, allocations: 114.4 kB / 0.6903 GB, free: 9.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.1813, allocations: 87.94 kB / 0.6903 GB, free: 9.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1813, allocations: 0 / 0.6903 GB, free: 9.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005959/0.1819, allocations: 241.4 kB / 0.6906 GB, free: 8.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.182, allocations: 7.938 kB / 0.6906 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.182, allocations: 0 / 0.6906 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.182, allocations: 0 / 0.6906 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.1823, allocations: 47.95 kB / 0.6906 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1823, allocations: 3.984 kB / 0.6906 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1825, allocations: 31.92 kB / 0.6907 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1825, allocations: 8 kB / 0.6907 GB, free: 8.855 MB / 494.1 MB 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.0001261/0.1826, allocations: 126.4 kB / 0.6908 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1827, allocations: 7.906 kB / 0.6908 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.1834, allocations: 242.1 kB / 0.691 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1834, allocations: 8 kB / 0.691 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1834, allocations: 4.312 kB / 0.691 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1834, allocations: 0 / 0.691 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.1838, allocations: 238.3 kB / 0.6913 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1838, allocations: 4 kB / 0.6913 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.184, allocations: 43.95 kB / 0.6913 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.184, allocations: 7.984 kB / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.184, allocations: 0 / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.184, allocations: 0 / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.184, allocations: 4 kB / 0.6913 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.1847, allocations: 323.2 kB / 0.6916 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1847, allocations: 85.02 kB / 0.6917 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1848, allocations: 0 / 0.6917 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.185, allocations: 43.95 kB / 0.6918 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1851, allocations: 11.98 kB / 0.6918 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1851, allocations: 7.984 kB / 0.6918 GB, free: 7.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.1852, allocations: 105.1 kB / 0.6919 GB, free: 7.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1852, allocations: 0 / 0.6919 GB, free: 7.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1854, allocations: 20 kB / 0.6919 GB, free: 7.5 MB / 494.1 MB 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.0001373/0.1856, allocations: 99.25 kB / 0.692 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.1862, allocations: 199.8 kB / 0.6922 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1862, allocations: 4 kB / 0.6922 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1865, allocations: 104 kB / 0.6923 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1868, allocations: 15.92 kB / 0.6923 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.1875, allocations: 309.2 kB / 0.6926 GB, free: 6.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1877, allocations: 0.7043 MB / 0.6933 GB, free: 6.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.806e-05/0.1878, allocations: 16.19 kB / 0.6933 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.1879, allocations: 15.42 kB / 0.6933 GB, free: 5.988 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1879, allocations: 0 / 0.6933 GB, free: 5.988 MB / 494.1 MB Notification: Performance of Templates: time 0.003498/0.1914, allocations: 1.315 MB / 0.6946 GB, free: 4.688 MB / 494.1 MB 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)