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.005187/0.005187, allocations: 99.23 kB / 15.73 MB, free: 5.953 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.001208/0.001208, allocations: 198.9 kB / 16.68 MB, free: 5.887 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 294.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 99.84 kB / 0.6815 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1662, allocations: 86.97 MB / 0.7664 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00161/0.1679, allocations: 0.6053 MB / 0.767 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003981/0.1683, allocations: 163.3 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.1683, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1684, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.1684, allocations: 4 kB / 0.7672 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1687, allocations: 35.84 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.1688, allocations: 19.97 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1688, allocations: 0 / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.1688, allocations: 7.984 kB / 0.7672 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.1689, allocations: 15.94 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1689, allocations: 0 / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.169, allocations: 31.97 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.169, allocations: 7.969 kB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1691, allocations: 11.94 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1692, allocations: 27.95 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1692, allocations: 0 / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1692, allocations: 7.938 kB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1692, allocations: 0 / 0.7673 GB, free: 7.441 MB / 0.5606 GB 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.0003898/0.1696, allocations: 327.5 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1696, allocations: 20.02 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1697, allocations: 0.9375 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1698, allocations: 164.3 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1698, allocations: 384 / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1698, allocations: 8.375 kB / 0.7678 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1699, allocations: 46.19 kB / 0.7679 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.17, allocations: 192 / 0.7679 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.17, allocations: 3.938 kB / 0.7679 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.17, allocations: 0 / 0.7679 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.17, allocations: 23.97 kB / 0.7679 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1702, allocations: 157.7 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.1703, allocations: 42.62 kB / 0.7681 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.1704, allocations: 20.92 kB / 0.7681 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/0.1704, allocations: 85.09 kB / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1705, allocations: 30.56 kB / 0.7682 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1705, allocations: 4 kB / 0.7682 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001195/0.1717, allocations: 488.3 kB / 0.7687 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1717, allocations: 55.41 kB / 0.7687 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.1718, allocations: 93.84 kB / 0.7688 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1718, allocations: 29.7 kB / 0.7689 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1719, allocations: 80.14 kB / 0.7689 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1719, allocations: 31.55 kB / 0.769 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1719, allocations: 25.83 kB / 0.769 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.172, allocations: 314.8 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.1721, allocations: 8 kB / 0.7693 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.1721, allocations: 23.86 kB / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.1722, allocations: 37.08 kB / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1722, allocations: 0 / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.889e-05/0.1723, allocations: 65.69 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1723, allocations: 7.938 kB / 0.7694 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1723, allocations: 7.938 kB / 0.7694 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1723, allocations: 7.984 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.1724, allocations: 8 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1724, allocations: 7.938 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.1725, allocations: 0 / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1725, allocations: 4 kB / 0.7695 GB, free: 4.945 MB / 0.5606 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 (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.169e-05/0.1725, allocations: 110.5 kB / 0.7696 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1726, allocations: 3.938 kB / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1727, allocations: 93.61 kB / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1727, allocations: 0 / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1727, allocations: 0 / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1727, allocations: 0 / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1729, allocations: 161.7 kB / 0.7698 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1729, allocations: 4 kB / 0.7698 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.173, allocations: 15.92 kB / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.173, allocations: 7.938 kB / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.173, allocations: 0 / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.173, allocations: 0 / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.173, allocations: 192 / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.1732, allocations: 121 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1732, allocations: 89.08 kB / 0.77 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1732, allocations: 0 / 0.77 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.1733, allocations: 0 / 0.77 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.1733, allocations: 11.92 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1733, allocations: 4 kB / 0.7701 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.1733, allocations: 79.28 kB / 0.7701 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1734, allocations: 4.156 kB / 0.7701 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002244/0.1736, allocations: 24 kB / 0.7702 GB, free: 4.129 MB / 0.5606 GB 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.0001923/0.1738, allocations: 131.2 kB / 0.7703 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1739, allocations: 39.97 kB / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1739, allocations: 0 / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1739, allocations: 23.92 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1741, allocations: 4 kB / 0.7704 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1744, allocations: 145.4 kB / 0.7705 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1746, allocations: 0.6884 MB / 0.7712 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1746, allocations: 12.23 kB / 0.7712 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1747, allocations: 15.44 kB / 0.7712 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1747, allocations: 0 / 0.7712 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.002921/0.1776, allocations: 0.8862 MB / 0.7721 GB, free: 2.164 MB / 0.5606 GB 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)