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.004508/0.004508, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001016/0.001016, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 279.1 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001663, allocations: 99.84 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 86.99 MB / 0.7664 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001438/0.1592, allocations: 0.6015 MB / 0.767 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.1596, allocations: 159.4 kB / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.1596, allocations: 4 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1596, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.997e-05/0.1597, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.16, allocations: 43.89 kB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.16, allocations: 11.94 kB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1601, allocations: 7.984 kB / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1601, allocations: 4 kB / 0.7672 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.1602, allocations: 7.938 kB / 0.7672 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1602, allocations: 4 kB / 0.7673 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.1603, allocations: 35.94 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.1603, allocations: 8 kB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.1603, allocations: 3.938 kB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.1604, allocations: 31.89 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1604, allocations: 4 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1604, allocations: 3.938 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1604, allocations: 0 / 0.7673 GB, free: 7.445 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.000349/0.1608, allocations: 331.4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1608, allocations: 12.03 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.1609, allocations: 4.891 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.161, allocations: 164.4 kB / 0.7678 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.161, allocations: 4.375 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.161, allocations: 384 / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.1611, allocations: 42.25 kB / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1611, allocations: 4.125 kB / 0.7679 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1611, allocations: 7.938 kB / 0.7679 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1611, allocations: 4 kB / 0.7679 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.1612, allocations: 11.98 kB / 0.7679 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1613, allocations: 157.7 kB / 0.768 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.1614, allocations: 42.56 kB / 0.7681 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.1615, allocations: 24.97 kB / 0.7681 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.938e-05/0.1615, allocations: 81.11 kB / 0.7682 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1616, allocations: 38.5 kB / 0.7682 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1616, allocations: 0 / 0.7682 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001112/0.1627, allocations: 500 kB / 0.7687 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1627, allocations: 55.39 kB / 0.7688 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.1628, allocations: 89.86 kB / 0.7688 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1628, allocations: 25.7 kB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.1628, allocations: 84.08 kB / 0.7689 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.1629, allocations: 27.75 kB / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.1629, allocations: 25.7 kB / 0.769 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.163, allocations: 315 kB / 0.7693 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1631, allocations: 19.98 kB / 0.7693 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.1631, allocations: 8 kB / 0.7693 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.1631, allocations: 36.8 kB / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1631, allocations: 0 / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.1633, allocations: 77.88 kB / 0.7694 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1633, allocations: 11.94 kB / 0.7694 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1633, allocations: 3.938 kB / 0.7694 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1633, allocations: 0 / 0.7694 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1634, allocations: 12.44 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1634, allocations: 4 kB / 0.7695 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.1634, allocations: 0 / 0.7695 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1634, allocations: 8 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 6.659e-05/0.1635, allocations: 118.4 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1635, allocations: 11.89 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1637, allocations: 77.64 kB / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1637, allocations: 0 / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1637, allocations: 4 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1637, allocations: 4 kB / 0.7697 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.1638, allocations: 157.7 kB / 0.7698 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1638, allocations: 0 / 0.7698 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.1639, allocations: 19.92 kB / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1639, allocations: 3.938 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1639, allocations: 4 kB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1639, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1639, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1641, allocations: 117.1 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1641, allocations: 85 kB / 0.77 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1642, allocations: 4 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.1642, allocations: 8.016 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.1642, allocations: 0 / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1642, allocations: 4 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.1643, allocations: 75.28 kB / 0.7701 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1643, allocations: 0 / 0.7701 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002091/0.1645, allocations: 35.92 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.0001873/0.1647, allocations: 135.3 kB / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1648, allocations: 39.97 kB / 0.7703 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1648, allocations: 3.938 kB / 0.7703 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.1648, allocations: 23.94 kB / 0.7704 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.165, allocations: 4 kB / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.1652, allocations: 137.4 kB / 0.7705 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1655, allocations: 0.6845 MB / 0.7712 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.1655, allocations: 15.69 kB / 0.7712 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1655, allocations: 11.42 kB / 0.7712 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1655, allocations: 4 kB / 0.7712 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.002661/0.1682, allocations: 0.8874 MB / 0.7721 GB, free: 2.168 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)