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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001191/0.001191, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.461/0.461, allocations: 90.81 MB / 104.5 MB, free: 9.781 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.202/1.202, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007542, allocations: 94.78 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.861e-05, allocations: 4 kB / 0.4896 GB, free: 5.336 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4337, allocations: 101 MB / 0.6589 GB, free: 3.305 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.434, allocations: 75.95 kB / 0.6589 GB, free: 3.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005273/0.4392, allocations: 2.039 MB / 0.6609 GB, free: 1.199 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4393, allocations: 6.625 kB / 0.6609 GB, free: 1.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4393, allocations: 0 / 0.6609 GB, free: 1.195 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.0002304/0.4395, allocations: 322.5 kB / 0.6612 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4396, allocations: 11.98 kB / 0.6613 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.4396, allocations: 15.84 kB / 0.6613 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.4397, allocations: 167 kB / 0.6614 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4397, allocations: 0 / 0.6614 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.4398, allocations: 5.812 kB / 0.6614 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.4399, allocations: 41.69 kB / 0.6615 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4399, allocations: 3.984 kB / 0.6615 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.4399, allocations: 0 / 0.6615 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4399, allocations: 4 kB / 0.6615 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.4399, allocations: 19.95 kB / 0.6615 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.4401, allocations: 157.6 kB / 0.6617 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.4402, allocations: 46.56 kB / 0.6617 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.4402, allocations: 20.98 kB / 0.6617 GB, free: 252 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.4403, allocations: 77.11 kB / 0.6618 GB, free: 156 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.4404, allocations: 46.55 kB / 0.6618 GB, free: 100 kB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4404, allocations: 0 / 0.6618 GB, free: 100 kB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001027/0.4414, allocations: 464.9 kB / 0.6623 GB, free: 15.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4414, allocations: 51.41 kB / 0.6623 GB, free: 15.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.4415, allocations: 92.89 kB / 0.6624 GB, free: 15.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4415, allocations: 29.7 kB / 0.6624 GB, free: 15.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.4415, allocations: 80.14 kB / 0.6625 GB, free: 15.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.4416, allocations: 31.75 kB / 0.6626 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.4416, allocations: 6.531 kB / 0.6626 GB, free: 15.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.4417, allocations: 314.8 kB / 0.6629 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.4417, allocations: 12 kB / 0.6629 GB, free: 14.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.4417, allocations: 10.11 kB / 0.6629 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.4417, allocations: 15.98 kB / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4418, allocations: 0 / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.526e-05/0.4419, allocations: 69.53 kB / 0.663 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4419, allocations: 8 kB / 0.663 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4419, allocations: 0 / 0.663 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.4419, allocations: 4 kB / 0.663 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.442, allocations: 15.94 kB / 0.663 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.442, allocations: 0 / 0.663 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.442, allocations: 7.984 kB / 0.663 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.442, allocations: 7.953 kB / 0.663 GB, free: 14.79 MB / 490.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 () * 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 5.076e-05/0.4421, allocations: 101 kB / 0.6631 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.4421, allocations: 4 kB / 0.6631 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.4423, allocations: 88.56 kB / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4423, allocations: 4 kB / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4423, allocations: 0 / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4423, allocations: 0 / 0.6632 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4424, allocations: 165.6 kB / 0.6634 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4424, allocations: 3.984 kB / 0.6634 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.4425, allocations: 12 kB / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4425, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4425, allocations: 4 kB / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4425, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4425, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.4427, allocations: 122.1 kB / 0.6635 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.4427, allocations: 77.11 kB / 0.6636 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4428, allocations: 11.97 kB / 0.6636 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.4428, allocations: 0 / 0.6636 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.4428, allocations: 11.97 kB / 0.6636 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4428, allocations: 4 kB / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.4429, allocations: 79.34 kB / 0.6637 GB, free: 14.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4429, allocations: 4 kB / 0.6637 GB, free: 14.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.4431, allocations: 38.28 kB / 0.6637 GB, free: 13.98 MB / 490.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 () * 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.0001941/0.4433, allocations: 139.2 kB / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.4434, allocations: 43.92 kB / 0.6639 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4434, allocations: 0 / 0.6639 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.4434, allocations: 20 kB / 0.6639 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.815e-05/0.4435, allocations: 6.578 kB / 0.6639 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.4437, allocations: 110.9 kB / 0.664 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.4439, allocations: 0.6887 MB / 0.6647 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.444, allocations: 11.38 kB / 0.6647 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.444, allocations: 11.44 kB / 0.6647 GB, free: 12.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.444, allocations: 0 / 0.6647 GB, free: 12.9 MB / 490.7 MB Notification: Performance of Templates: time 0.002466/0.4465, allocations: 0.7349 MB / 0.6654 GB, free: 12.19 MB / 490.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)