Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") 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: 107.8 kB / 16.27 MB, free: 6.414 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.001157/0.001157, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002381/0.002381, allocations: 293.8 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.131/1.131, allocations: 178.6 MB / 0.5079 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 95.8 kB / 0.6071 GB, free: 9.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1782, allocations: 89.14 MB / 0.6942 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002774/0.181, allocations: 1.434 MB / 0.6956 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004194/0.1814, allocations: 184.3 kB / 0.6957 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.1815, allocations: 4 kB / 0.6957 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1815, allocations: 3.938 kB / 0.6957 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.1815, allocations: 7.938 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1818, allocations: 46.62 kB / 0.6958 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.1819, allocations: 23.88 kB / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.182, allocations: 7.984 kB / 0.6958 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.182, allocations: 8 kB / 0.6958 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.1821, allocations: 15.92 kB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1821, allocations: 0 / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.1822, allocations: 43.95 kB / 0.6959 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1822, allocations: 0 / 0.6959 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1822, allocations: 11.92 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1824, allocations: 39.89 kB / 0.6959 GB, free: 14.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1824, allocations: 0 / 0.6959 GB, free: 14.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1824, allocations: 0 / 0.6959 GB, free: 14.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1824, allocations: 0 / 0.6959 GB, free: 14.26 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004616/0.1829, allocations: 343.7 kB / 0.6963 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1829, allocations: 8.031 kB / 0.6963 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1829, allocations: 8.938 kB / 0.6963 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1831, allocations: 164.4 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1831, allocations: 384 / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1831, allocations: 4.375 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1833, allocations: 54.17 kB / 0.6965 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1833, allocations: 192 / 0.6965 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1833, allocations: 3.938 kB / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1833, allocations: 0 / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1835, allocations: 43.94 kB / 0.6965 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1838, allocations: 252.9 kB / 0.6968 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1839, allocations: 38.5 kB / 0.6968 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.184, allocations: 24.84 kB / 0.6968 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.1841, allocations: 89.09 kB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1842, allocations: 30.56 kB / 0.697 GB, free: 13.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1842, allocations: 0 / 0.697 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.1845, allocations: 81.64 kB / 0.697 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1845, allocations: 51.41 kB / 0.6971 GB, free: 12.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.1846, allocations: 106 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1847, allocations: 29.7 kB / 0.6972 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1847, allocations: 80.14 kB / 0.6973 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1847, allocations: 11.89 kB / 0.6973 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1848, allocations: 13.72 kB / 0.6973 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1849, allocations: 318.8 kB / 0.6976 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.185, allocations: 15.92 kB / 0.6976 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.1851, allocations: 23.97 kB / 0.6977 GB, free: 12.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1852, allocations: 40.77 kB / 0.6977 GB, free: 12.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1852, allocations: 0 / 0.6977 GB, free: 12.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.1854, allocations: 69.59 kB / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1854, allocations: 4 kB / 0.6978 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1855, allocations: 96 / 0.6978 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1855, allocations: 4 kB / 0.6978 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1856, allocations: 8 kB / 0.6978 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1856, allocations: 3.984 kB / 0.6978 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.1856, allocations: 15.88 kB / 0.6978 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.1856, allocations: 0 / 0.6978 GB, free: 12.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.951e-05/0.1857, allocations: 117.3 kB / 0.6979 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1858, allocations: 3.906 kB / 0.6979 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.186, allocations: 80.77 kB / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.186, allocations: 0 / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.186, allocations: 0 / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.186, allocations: 0 / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1862, allocations: 157.6 kB / 0.6981 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1862, allocations: 0 / 0.6981 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.1863, allocations: 11.98 kB / 0.6981 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1863, allocations: 0 / 0.6981 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1863, allocations: 0 / 0.6981 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1863, allocations: 4.031 kB / 0.6982 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1863, allocations: 0 / 0.6982 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1865, allocations: 167.4 kB / 0.6983 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1866, allocations: 81.11 kB / 0.6984 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1866, allocations: 3.984 kB / 0.6984 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1867, allocations: 8.031 kB / 0.6984 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1867, allocations: 0 / 0.6984 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.1867, allocations: 0 / 0.6984 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.1868, allocations: 91.52 kB / 0.6985 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 0.6985 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002236/0.187, allocations: 12 kB / 0.6985 GB, free: 11.3 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0001452/0.1872, allocations: 107.2 kB / 0.6986 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1874, allocations: 47.89 kB / 0.6986 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1874, allocations: 0 / 0.6986 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.1875, allocations: 19.98 kB / 0.6987 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1877, allocations: 7.875 kB / 0.6987 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.188, allocations: 139.1 kB / 0.6988 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1883, allocations: 0.6808 MB / 0.6995 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1883, allocations: 15.44 kB / 0.6995 GB, free: 10.21 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1884, allocations: 3.938 kB / 0.6995 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Templates: time 0.002024/0.1904, allocations: 0.6612 MB / 0.7001 GB, free: 9.551 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)