Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7291/0.7291, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 191.6 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205 MB / 408.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.2 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 53.77 kB / 0.558 GB, free: 97.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1611, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001831/0.163, allocations: 0.6625 MB / 0.6323 GB, free: 32.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.1635, allocations: 160.9 kB / 0.6325 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.1636, allocations: 4 kB / 0.6325 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1636, allocations: 0 / 0.6325 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.1636, allocations: 0 / 0.6325 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1639, allocations: 35.91 kB / 0.6325 GB, free: 32.19 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.164, allocations: 12 kB / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.164, allocations: 7.969 kB / 0.6325 GB, free: 32.17 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.1641, allocations: 7.938 kB / 0.6326 GB, free: 32.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.1641, allocations: 4 kB / 0.6326 GB, free: 32.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1642, allocations: 3.938 kB / 0.6326 GB, free: 32.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.1642, allocations: 35.95 kB / 0.6326 GB, free: 32.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1643, allocations: 11.98 kB / 0.6326 GB, free: 32.11 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.1643, allocations: 7.938 kB / 0.6326 GB, free: 32.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.926e-05/0.1644, allocations: 27.91 kB / 0.6326 GB, free: 32.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1644, allocations: 0 / 0.6326 GB, free: 32.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1644, allocations: 3.984 kB / 0.6326 GB, free: 32.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1644, allocations: 0 / 0.6326 GB, free: 32.07 MB / 442.7 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.0003956/0.1648, allocations: 331.6 kB / 0.633 GB, free: 31.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1649, allocations: 8.031 kB / 0.633 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1649, allocations: 0.9375 kB / 0.633 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.165, allocations: 172.4 kB / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.165, allocations: 384 / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1651, allocations: 4.375 kB / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1652, allocations: 42.19 kB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1652, allocations: 4.188 kB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1652, allocations: 3.938 kB / 0.6332 GB, free: 31.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1652, allocations: 0 / 0.6332 GB, free: 31.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.1653, allocations: 15.98 kB / 0.6332 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1654, allocations: 161.6 kB / 0.6334 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.1655, allocations: 50.5 kB / 0.6334 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.1656, allocations: 24.97 kB / 0.6334 GB, free: 31.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.798e-05/0.1656, allocations: 77.11 kB / 0.6335 GB, free: 31.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1657, allocations: 38.56 kB / 0.6335 GB, free: 30.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1657, allocations: 0 / 0.6335 GB, free: 30.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.001155/0.1668, allocations: 492.4 kB / 0.634 GB, free: 30.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1669, allocations: 55.39 kB / 0.6341 GB, free: 30.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.1669, allocations: 89.86 kB / 0.6342 GB, free: 30.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1669, allocations: 29.7 kB / 0.6342 GB, free: 30.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.167, allocations: 80.14 kB / 0.6343 GB, free: 30.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.167, allocations: 27.64 kB / 0.6343 GB, free: 30.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.167, allocations: 21.7 kB / 0.6343 GB, free: 30.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1671, allocations: 318.9 kB / 0.6346 GB, free: 29.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.1671, allocations: 23.92 kB / 0.6346 GB, free: 29.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.1672, allocations: 8 kB / 0.6346 GB, free: 29.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.1672, allocations: 40.78 kB / 0.6347 GB, free: 29.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1672, allocations: 0 / 0.6347 GB, free: 29.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.201e-05/0.1673, allocations: 69.69 kB / 0.6347 GB, free: 29.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1674, allocations: 10.12 kB / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1674, allocations: 0 / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1674, allocations: 0 / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.1675, allocations: 15.94 kB / 0.6348 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1675, allocations: 0 / 0.6348 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.1675, allocations: 4 kB / 0.6348 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1675, allocations: 4 kB / 0.6348 GB, free: 29.58 MB / 442.7 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 5.86e-05/0.1676, allocations: 113.8 kB / 0.6349 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.1676, allocations: 11.84 kB / 0.6349 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1678, allocations: 85.92 kB / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1678, allocations: 4 kB / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1678, allocations: 0 / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1678, allocations: 7.984 kB / 0.635 GB, free: 29.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.1679, allocations: 157.9 kB / 0.6351 GB, free: 29.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1679, allocations: 7.938 kB / 0.6351 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.168, allocations: 15.98 kB / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.168, allocations: 3.938 kB / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.168, allocations: 4 kB / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.168, allocations: 0 / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.168, allocations: 4 kB / 0.6352 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.1701, allocations: 1.353 MB / 0.6365 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.1702, allocations: 84.95 kB / 0.6366 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.1702, allocations: 0 / 0.6366 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.1702, allocations: 4.031 kB / 0.6366 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.1703, allocations: 7.984 kB / 0.6366 GB, free: 27.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1703, allocations: 4 kB / 0.6366 GB, free: 27.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.623e-05/0.1703, allocations: 75.28 kB / 0.6367 GB, free: 27.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1703, allocations: 0 / 0.6367 GB, free: 27.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.1706, allocations: 36.19 kB / 0.6367 GB, free: 27.38 MB / 442.7 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.0001956/0.1708, allocations: 139.1 kB / 0.6368 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1709, allocations: 35.98 kB / 0.6369 GB, free: 27.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1709, allocations: 0 / 0.6369 GB, free: 27.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.171, allocations: 27.92 kB / 0.6369 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1711, allocations: 6.672 kB / 0.6369 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1714, allocations: 266.6 kB / 0.6372 GB, free: 26.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.1715, allocations: 0.6809 MB / 0.6378 GB, free: 26.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.687e-05/0.1716, allocations: 11.98 kB / 0.6378 GB, free: 26.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.1716, allocations: 11.44 kB / 0.6378 GB, free: 26.14 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1716, allocations: 7.938 kB / 0.6378 GB, free: 26.13 MB / 442.7 MB Notification: Performance of Templates: time 0.002882/0.1745, allocations: 0.9032 MB / 0.6387 GB, free: 25.26 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)