Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 172.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5449/0.5449, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 348.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007799, allocations: 91.77 kB / 420.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 15.98 kB / 0.4901 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3398, allocations: 71.02 MB / 0.5595 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4609, allocations: 99.68 MB / 0.6568 GB, free: 9.801 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4612, allocations: 82.25 kB / 0.6569 GB, free: 9.723 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005624/0.4669, allocations: 2.042 MB / 0.6589 GB, free: 7.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4669, allocations: 0 / 0.6589 GB, free: 7.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4669, allocations: 0 / 0.6589 GB, free: 7.68 MB / 474.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.0004158/0.4674, allocations: 339.5 kB / 0.6592 GB, free: 7.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.4674, allocations: 8.031 kB / 0.6592 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.4675, allocations: 0.9375 kB / 0.6592 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4676, allocations: 172.3 kB / 0.6594 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4677, allocations: 384 / 0.6594 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4677, allocations: 4.375 kB / 0.6594 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4678, allocations: 38.25 kB / 0.6594 GB, free: 7.035 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4679, allocations: 192 / 0.6594 GB, free: 7.035 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4679, allocations: 15.94 kB / 0.6594 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4679, allocations: 4 kB / 0.6594 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.366e-05/0.468, allocations: 15.92 kB / 0.6595 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.4682, allocations: 161.7 kB / 0.6596 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.4683, allocations: 42.56 kB / 0.6596 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.4683, allocations: 20.92 kB / 0.6597 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4685, allocations: 81.11 kB / 0.6597 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4685, allocations: 38.55 kB / 0.6598 GB, free: 6.574 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.4685, allocations: 0 / 0.6598 GB, free: 6.574 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001327/0.4698, allocations: 484 kB / 0.6602 GB, free: 6.027 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4699, allocations: 55.39 kB / 0.6603 GB, free: 5.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.47, allocations: 89.86 kB / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.47, allocations: 29.7 kB / 0.6604 GB, free: 5.828 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.4701, allocations: 88.27 kB / 0.6605 GB, free: 5.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4701, allocations: 15.66 kB / 0.6605 GB, free: 5.723 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.4701, allocations: 8 kB / 0.6605 GB, free: 5.715 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4702, allocations: 314.8 kB / 0.6608 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.4703, allocations: 12 kB / 0.6608 GB, free: 5.387 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.4703, allocations: 16.05 kB / 0.6608 GB, free: 5.371 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.445e-05/0.4704, allocations: 32.86 kB / 0.6609 GB, free: 5.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4704, allocations: 0 / 0.6609 GB, free: 5.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/0.4705, allocations: 77.52 kB / 0.6609 GB, free: 5.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4705, allocations: 13.81 kB / 0.661 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4705, allocations: 0 / 0.661 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4705, allocations: 4 kB / 0.661 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.4706, allocations: 12.42 kB / 0.661 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4706, allocations: 0 / 0.661 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.4707, allocations: 4 kB / 0.661 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.4707, allocations: 8 kB / 0.661 GB, free: 5.215 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.4708, allocations: 109.8 kB / 0.6611 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.4708, allocations: 7.875 kB / 0.6611 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.4709, allocations: 85.64 kB / 0.6612 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.471, allocations: 0 / 0.6612 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.471, allocations: 7.922 kB / 0.6612 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.471, allocations: 0 / 0.6612 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4711, allocations: 161.7 kB / 0.6613 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4711, allocations: 0 / 0.6613 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.4712, allocations: 19.97 kB / 0.6614 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4712, allocations: 3.938 kB / 0.6614 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4713, allocations: 3.938 kB / 0.6614 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4713, allocations: 4 kB / 0.6614 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4713, allocations: 7.938 kB / 0.6614 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.4715, allocations: 117 kB / 0.6615 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.4715, allocations: 81.05 kB / 0.6616 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4715, allocations: 0 / 0.6616 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.4716, allocations: 4.031 kB / 0.6616 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.4716, allocations: 7.984 kB / 0.6616 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4716, allocations: 0 / 0.6616 GB, free: 4.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.4717, allocations: 83.34 kB / 0.6617 GB, free: 4.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4717, allocations: 0 / 0.6617 GB, free: 4.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.4719, allocations: 39.94 kB / 0.6617 GB, free: 4.371 MB / 474.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 (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.0002952/0.4722, allocations: 143.9 kB / 0.6618 GB, free: 4.223 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.4724, allocations: 40.36 kB / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4724, allocations: 0 / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.4724, allocations: 27.92 kB / 0.6619 GB, free: 4.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.4726, allocations: 4.094 kB / 0.6619 GB, free: 4.152 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.473, allocations: 149.2 kB / 0.662 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4732, allocations: 0.6809 MB / 0.6627 GB, free: 3.273 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.4733, allocations: 7.984 kB / 0.6627 GB, free: 3.266 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.4733, allocations: 15.38 kB / 0.6627 GB, free: 3.25 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4733, allocations: 4 kB / 0.6627 GB, free: 3.246 MB / 474.7 MB Notification: Performance of Templates: time 0.003036/0.4764, allocations: 0.8018 MB / 0.6635 GB, free: 2.445 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)