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.7272/0.7272, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001019/0.001019, allocations: 175.4 kB / 164.6 MB, free: 11.62 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.374/1.374, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0007677/0.0007674, allocations: 85.78 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.282e-05, allocations: 5.531 kB / 0.5466 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.2582, allocations: 101.4 MB / 0.7206 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.2585, allocations: 75.95 kB / 0.7207 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005961/0.2644, allocations: 2.157 MB / 0.7228 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2645, allocations: 0 / 0.7228 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2645, allocations: 0 / 0.7228 GB, free: 3.332 MB / 0.4948 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.0002841/0.2648, allocations: 336.3 kB / 0.7231 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2648, allocations: 8.031 kB / 0.7231 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.2649, allocations: 7.953 kB / 0.7231 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.265, allocations: 159.1 kB / 0.7233 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.265, allocations: 3.984 kB / 0.7233 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.2651, allocations: 4 kB / 0.7233 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.528e-05/0.2651, allocations: 12 kB / 0.7233 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.2652, allocations: 37.69 kB / 0.7233 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2652, allocations: 0 / 0.7233 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2653, allocations: 0 / 0.7233 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2653, allocations: 8 kB / 0.7233 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.2654, allocations: 138.2 kB / 0.7235 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.2655, allocations: 38.52 kB / 0.7235 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.2656, allocations: 20.97 kB / 0.7235 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.2657, allocations: 81.05 kB / 0.7236 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2657, allocations: 38.56 kB / 0.7236 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2658, allocations: 4 kB / 0.7236 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.001157/0.2669, allocations: 451.9 kB / 0.7241 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2669, allocations: 51.41 kB / 0.7241 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.267, allocations: 89 kB / 0.7242 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.267, allocations: 25.7 kB / 0.7242 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.2671, allocations: 84.14 kB / 0.7243 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.2671, allocations: 19.64 kB / 0.7243 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2671, allocations: 4 kB / 0.7243 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.2672, allocations: 326.9 kB / 0.7246 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2672, allocations: 7.938 kB / 0.7246 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.2673, allocations: 12 kB / 0.7247 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.2673, allocations: 20.2 kB / 0.7247 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2673, allocations: 0 / 0.7247 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001052/0.2674, allocations: 61.69 kB / 0.7247 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2674, allocations: 4 kB / 0.7247 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2675, allocations: 0 / 0.7247 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2675, allocations: 4 kB / 0.7247 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.2676, allocations: 12.25 kB / 0.7247 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2676, allocations: 0 / 0.7247 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.2676, allocations: 11.98 kB / 0.7248 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2676, allocations: 0 / 0.7248 GB, free: 1.012 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.2677, allocations: 108.9 kB / 0.7249 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.2677, allocations: 4 kB / 0.7249 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.2679, allocations: 81.97 kB / 0.7249 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2679, allocations: 0 / 0.7249 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2679, allocations: 4 kB / 0.725 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2679, allocations: 4 kB / 0.725 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.888e-05/0.268, allocations: 138.2 kB / 0.7251 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.268, allocations: 0 / 0.7251 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2681, allocations: 15.98 kB / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2681, allocations: 0 / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.2681, allocations: 0 / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2681, allocations: 7.938 kB / 0.7251 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2681, allocations: 0 / 0.7251 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2683, allocations: 109 kB / 0.7252 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2684, allocations: 89 kB / 0.7253 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2684, allocations: 0 / 0.7253 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.2684, allocations: 0 / 0.7253 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2685, allocations: 11.98 kB / 0.7253 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2685, allocations: 4 kB / 0.7253 GB, free: 372 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.2685, allocations: 75.28 kB / 0.7254 GB, free: 296 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2685, allocations: 0 / 0.7254 GB, free: 296 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002248/0.2687, allocations: 36.09 kB / 0.7254 GB, free: 260 kB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.269, allocations: 143.1 kB / 0.7256 GB, free: 104 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.2691, allocations: 39.97 kB / 0.7256 GB, free: 64 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2691, allocations: 0 / 0.7256 GB, free: 64 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.2691, allocations: 23.94 kB / 0.7256 GB, free: 40 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.2692, allocations: 4.875 kB / 0.7256 GB, free: 36 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.2695, allocations: 88.91 kB / 0.7257 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2697, allocations: 0.6846 MB / 0.7264 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.2698, allocations: 8.719 kB / 0.7264 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.2698, allocations: 11.44 kB / 0.7264 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.2698, allocations: 0 / 0.7264 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.002596/0.2724, allocations: 0.7247 MB / 0.7271 GB, free: 14.5 MB / 0.5105 GB 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)