Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009801/0.0009797, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009281/0.0009282, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.48/1.48, allocations: 292.2 MB / 0.5485 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.16 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1631, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001651/0.1648, allocations: 0.6626 MB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000308/0.1651, allocations: 163.5 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.1652, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.1652, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.748e-05/0.1652, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1655, allocations: 31.95 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.768e-05/0.1655, allocations: 19.88 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1656, allocations: 7.984 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.49e-05/0.1656, allocations: 4 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.1656, allocations: 8 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1656, allocations: 3.938 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.1657, allocations: 43.94 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1657, allocations: 0 / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.1657, allocations: 12 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.46e-05/0.1658, allocations: 31.88 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1658, allocations: 0 / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1658, allocations: 0 / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1658, allocations: 0 / 0.7838 GB, free: 12.89 MB / 0.6075 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.000292/0.1661, allocations: 327.6 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1662, allocations: 8.031 kB / 0.7841 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1662, allocations: 16.84 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.1663, allocations: 164.6 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1663, allocations: 384 / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1663, allocations: 8.375 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/0.1664, allocations: 42.25 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1665, allocations: 192 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1665, allocations: 11.81 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1665, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.1665, allocations: 15.98 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1667, allocations: 161.7 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.1667, allocations: 46.61 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1668, allocations: 20.97 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-05/0.1668, allocations: 85.05 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1669, allocations: 34.5 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1669, allocations: 0 / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001056/0.1679, allocations: 0.4887 MB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.168, allocations: 51.41 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/0.168, allocations: 93.86 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.168, allocations: 29.7 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.1681, allocations: 80.14 kB / 0.7854 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1681, allocations: 23.66 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1681, allocations: 21.7 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.1682, allocations: 315 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.1683, allocations: 15.98 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.1683, allocations: 12 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.1683, allocations: 36.78 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1683, allocations: 0 / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.594e-05/0.1684, allocations: 77.81 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1685, allocations: 7.938 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1685, allocations: 0 / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1685, allocations: 0 / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.1686, allocations: 12 kB / 0.7859 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1686, allocations: 8.062 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.1686, allocations: 4 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1686, allocations: 7.984 kB / 0.786 GB, free: 10.38 MB / 0.6075 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 5.282e-05/0.1687, allocations: 113.8 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1687, allocations: 3.938 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1688, allocations: 81.64 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1688, allocations: 0 / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1688, allocations: 4 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1688, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.376e-05/0.1689, allocations: 165.7 kB / 0.7863 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1689, allocations: 0 / 0.7863 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.169, allocations: 12 kB / 0.7863 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.169, allocations: 7.875 kB / 0.7863 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.169, allocations: 0 / 0.7863 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1691, allocations: 3.938 kB / 0.7863 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1691, allocations: 4 kB / 0.7863 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1692, allocations: 121 kB / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.1692, allocations: 81.05 kB / 0.7865 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1693, allocations: 8.016 kB / 0.7865 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.1693, allocations: 3.938 kB / 0.7865 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1693, allocations: 4 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1693, allocations: 4 kB / 0.7866 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.1694, allocations: 75.28 kB / 0.7866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 0 / 0.7866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001957/0.1696, allocations: 36.14 kB / 0.7867 GB, free: 9.562 MB / 0.6075 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.0001711/0.1698, allocations: 135.2 kB / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1699, allocations: 39.98 kB / 0.7868 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1699, allocations: 0 / 0.7868 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.1699, allocations: 23.94 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.17, allocations: 7.984 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.1703, allocations: 149.4 kB / 0.787 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.1705, allocations: 0.6807 MB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.1705, allocations: 11.92 kB / 0.7877 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.1705, allocations: 11.44 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1705, allocations: 0 / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.002439/0.173, allocations: 0.8853 MB / 0.7886 GB, free: 7.57 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)