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.0009744/0.0009745, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.0009675/0.0009675, allocations: 191 kB / 17.29 MB, free: 5.516 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 290.2 kB / 291.4 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 169.3 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 94.44 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1574, allocations: 86.98 MB / 0.6816 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001764/0.1592, allocations: 0.5914 MB / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.1596, allocations: 171.5 kB / 0.6824 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.1596, allocations: 4 kB / 0.6824 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.1596, allocations: 0 / 0.6824 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.089e-05/0.1597, allocations: 0 / 0.6824 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.16, allocations: 35.91 kB / 0.6824 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.16, allocations: 15.92 kB / 0.6824 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.1601, allocations: 7.984 kB / 0.6824 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.1601, allocations: 7.938 kB / 0.6824 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.1602, allocations: 4 kB / 0.6824 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1602, allocations: 0 / 0.6824 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.1603, allocations: 35.95 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1603, allocations: 11.98 kB / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.1603, allocations: 11.88 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.1604, allocations: 35.88 kB / 0.6825 GB, free: 6.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1604, allocations: 0 / 0.6825 GB, free: 6.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1604, allocations: 0 / 0.6825 GB, free: 6.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1604, allocations: 0 / 0.6825 GB, free: 6.457 MB / 494.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.0003362/0.1608, allocations: 327.6 kB / 0.6828 GB, free: 6.086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1608, allocations: 12.03 kB / 0.6828 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1609, allocations: 0.9375 kB / 0.6828 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.161, allocations: 168.3 kB / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.161, allocations: 4.375 kB / 0.683 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.161, allocations: 384 / 0.683 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.1611, allocations: 50.23 kB / 0.6831 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1611, allocations: 4.125 kB / 0.6831 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1611, allocations: 3.938 kB / 0.6831 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1611, allocations: 4 kB / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.1612, allocations: 11.98 kB / 0.6831 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.1614, allocations: 161.6 kB / 0.6832 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.1614, allocations: 46.62 kB / 0.6833 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.1615, allocations: 20.97 kB / 0.6833 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.1616, allocations: 81.11 kB / 0.6834 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1616, allocations: 34.5 kB / 0.6834 GB, free: 5.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1616, allocations: 0 / 0.6834 GB, free: 5.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001182/0.1628, allocations: 496.2 kB / 0.6839 GB, free: 4.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1628, allocations: 55.41 kB / 0.6839 GB, free: 4.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.1629, allocations: 89.86 kB / 0.684 GB, free: 4.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1629, allocations: 29.7 kB / 0.684 GB, free: 4.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.163, allocations: 80.14 kB / 0.6841 GB, free: 4.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.163, allocations: 23.66 kB / 0.6841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.163, allocations: 25.7 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.1631, allocations: 310.8 kB / 0.6845 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1632, allocations: 20.11 kB / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1632, allocations: 12 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.1633, allocations: 36.78 kB / 0.6845 GB, free: 4.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1633, allocations: 3.938 kB / 0.6845 GB, free: 4.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.1634, allocations: 65.69 kB / 0.6846 GB, free: 4.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1634, allocations: 11.94 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1634, allocations: 0 / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1635, allocations: 0 / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1635, allocations: 12 kB / 0.6846 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1635, allocations: 0 / 0.6846 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.1636, allocations: 4 kB / 0.6846 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1636, allocations: 11.98 kB / 0.6846 GB, free: 3.973 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.318e-05/0.1637, allocations: 109.8 kB / 0.6847 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1637, allocations: 11.84 kB / 0.6848 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.1638, allocations: 85.92 kB / 0.6848 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1639, allocations: 3.938 kB / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1639, allocations: 4 kB / 0.6848 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1639, allocations: 4 kB / 0.6848 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.164, allocations: 161.7 kB / 0.685 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.164, allocations: 4.172 kB / 0.685 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.1641, allocations: 19.94 kB / 0.685 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1641, allocations: 3.938 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1641, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1641, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1641, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1643, allocations: 117.1 kB / 0.6851 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.1643, allocations: 89.02 kB / 0.6852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1644, allocations: 3.984 kB / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.1644, allocations: 4 kB / 0.6852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.1644, allocations: 0 / 0.6852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1644, allocations: 7.984 kB / 0.6852 GB, free: 3.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.1645, allocations: 79.28 kB / 0.6853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1645, allocations: 0 / 0.6853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1647, allocations: 31.98 kB / 0.6853 GB, free: 3.141 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.0001873/0.1649, allocations: 139.3 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.165, allocations: 39.97 kB / 0.6855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.165, allocations: 0 / 0.6855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.1651, allocations: 27.88 kB / 0.6855 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1652, allocations: 0 / 0.6855 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1655, allocations: 136.6 kB / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1657, allocations: 0.6807 MB / 0.6863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.1658, allocations: 15.92 kB / 0.6864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.1658, allocations: 15.44 kB / 0.6864 GB, free: 2.039 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1658, allocations: 0 / 0.6864 GB, free: 2.039 MB / 494.1 MB Notification: Performance of Templates: time 0.002825/0.1687, allocations: 0.873 MB / 0.6872 GB, free: 1.203 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)