Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001182/0.001182, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 283.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003166/0.003166, allocations: 94.12 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1708, allocations: 86.99 MB / 0.6795 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001981/0.1728, allocations: 0.6544 MB / 0.6801 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.1733, allocations: 164.1 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1734, allocations: 0 / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.1734, allocations: 0.7188 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.001e-05/0.1734, allocations: 0 / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1738, allocations: 36.78 kB / 0.6803 GB, free: 312 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.1738, allocations: 11.94 kB / 0.6803 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.1739, allocations: 8.578 kB / 0.6803 GB, free: 292 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.1739, allocations: 3.984 kB / 0.6803 GB, free: 288 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.174, allocations: 9.469 kB / 0.6803 GB, free: 280 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.174, allocations: 0 / 0.6803 GB, free: 280 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1741, allocations: 35.95 kB / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1741, allocations: 7.938 kB / 0.6804 GB, free: 236 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.1742, allocations: 7.984 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1743, allocations: 31.91 kB / 0.6804 GB, free: 196 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1743, allocations: 3.984 kB / 0.6804 GB, free: 192 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1743, allocations: 4 kB / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1743, allocations: 0 / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000406/0.1747, allocations: 323.9 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1748, allocations: 12.03 kB / 0.6807 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1748, allocations: 0.9375 kB / 0.6807 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1749, allocations: 168.3 kB / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1749, allocations: 8.312 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.175, allocations: 4.375 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1751, allocations: 42.25 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1751, allocations: 192 / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1751, allocations: 7.938 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1751, allocations: 0 / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.1752, allocations: 15.97 kB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1754, allocations: 169.6 kB / 0.6811 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.1755, allocations: 50.5 kB / 0.6812 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.1755, allocations: 20.97 kB / 0.6812 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.843e-05/0.1756, allocations: 81.11 kB / 0.6813 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1756, allocations: 30.56 kB / 0.6813 GB, free: 15.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1756, allocations: 3.938 kB / 0.6813 GB, free: 15.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001238/0.1769, allocations: 484.3 kB / 0.6818 GB, free: 14.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1769, allocations: 63.33 kB / 0.6818 GB, free: 14.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.177, allocations: 93.86 kB / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.177, allocations: 25.7 kB / 0.6819 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.177, allocations: 84.14 kB / 0.682 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1771, allocations: 19.66 kB / 0.682 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1771, allocations: 25.7 kB / 0.6821 GB, free: 14.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.1772, allocations: 314.8 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1773, allocations: 16.11 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.1773, allocations: 15.98 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.1774, allocations: 36.84 kB / 0.6824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1774, allocations: 0 / 0.6824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.1775, allocations: 65.69 kB / 0.6825 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1775, allocations: 7.938 kB / 0.6825 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1775, allocations: 3.938 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1775, allocations: 4 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.1776, allocations: 8 kB / 0.6825 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1776, allocations: 4 kB / 0.6825 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.1777, allocations: 4 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1777, allocations: 3.984 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB 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 (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 7.373e-05/0.1777, allocations: 115.2 kB / 0.6826 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.1778, allocations: 7.844 kB / 0.6826 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.1779, allocations: 89.88 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1779, allocations: 0 / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.178, allocations: 0 / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.178, allocations: 4 kB / 0.6827 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1781, allocations: 161.8 kB / 0.6829 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1781, allocations: 7.984 kB / 0.6829 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.1782, allocations: 16 kB / 0.6829 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1782, allocations: 3.938 kB / 0.6829 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1782, allocations: 4 kB / 0.6829 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1782, allocations: 0 / 0.6829 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1782, allocations: 3.938 kB / 0.6829 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1784, allocations: 117 kB / 0.683 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1784, allocations: 88.98 kB / 0.6831 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1785, allocations: 7.984 kB / 0.6831 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.1785, allocations: 0 / 0.6831 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1785, allocations: 4 kB / 0.6831 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1785, allocations: 0 / 0.6831 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.1786, allocations: 79.28 kB / 0.6832 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1786, allocations: 0 / 0.6832 GB, free: 12.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1788, allocations: 35.98 kB / 0.6832 GB, free: 12.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.000198/0.179, allocations: 135.4 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1791, allocations: 39.92 kB / 0.6834 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1791, allocations: 0 / 0.6834 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1792, allocations: 16 kB / 0.6834 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1793, allocations: 8 kB / 0.6834 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.1796, allocations: 151.4 kB / 0.6836 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1798, allocations: 0.6848 MB / 0.6842 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.1799, allocations: 4 kB / 0.6842 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.1799, allocations: 19.36 kB / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of SimCode: time 9.097e-06/0.1799, allocations: 0 / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002771/0.1827, allocations: 0.8798 MB / 0.6851 GB, free: 10.92 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)