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.001/0.001, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001034/0.001034, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 297.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9087/0.9087, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 95.86 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3633, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001463/0.3648, allocations: 0.6013 MB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.3651, allocations: 151.5 kB / 0.7678 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.3652, allocations: 4 kB / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.3652, allocations: 0 / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.748e-05/0.3652, allocations: 7.875 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3655, allocations: 39.89 kB / 0.7679 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.3655, allocations: 12 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.3656, allocations: 4 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.3656, allocations: 3.984 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.3657, allocations: 11.94 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3657, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.3658, allocations: 39.95 kB / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3658, allocations: 7.984 kB / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.3658, allocations: 7.938 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.3659, allocations: 23.95 kB / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3659, allocations: 4 kB / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3659, allocations: 4 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3659, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 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.0003286/0.3662, allocations: 327.6 kB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3663, allocations: 12.03 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3663, allocations: 4.844 kB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.3664, allocations: 168 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3664, allocations: 384 / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3665, allocations: 4.375 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.3666, allocations: 50.25 kB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3666, allocations: 192 / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3666, allocations: 11.86 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3666, allocations: 0 / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.3666, allocations: 15.98 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3668, allocations: 161.7 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.3669, allocations: 46.5 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3669, allocations: 20.97 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.367, allocations: 85.11 kB / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.367, allocations: 34.5 kB / 0.7689 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.367, allocations: 0 / 0.7689 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0011/0.3681, allocations: 484.1 kB / 0.7694 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3682, allocations: 59.28 kB / 0.7694 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.3682, allocations: 101.8 kB / 0.7695 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3683, allocations: 33.83 kB / 0.7695 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.3683, allocations: 80.14 kB / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.3683, allocations: 22.19 kB / 0.7696 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3684, allocations: 25.7 kB / 0.7697 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.3685, allocations: 314.8 kB / 0.77 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.3685, allocations: 11.98 kB / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.3685, allocations: 12 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.3686, allocations: 33.3 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3686, allocations: 4 kB / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.3687, allocations: 73.58 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3687, allocations: 15.86 kB / 0.7701 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3687, allocations: 0 / 0.7701 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3688, allocations: 8 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.3688, allocations: 8 kB / 0.7701 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3688, allocations: 4 kB / 0.7701 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.3689, allocations: 0 / 0.7701 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3689, allocations: 0 / 0.7701 GB, free: 0.4922 MB / 0.5294 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 () * 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 6.374e-05/0.3689, allocations: 124.2 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.369, allocations: 3.938 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3691, allocations: 85.58 kB / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3691, allocations: 0 / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3691, allocations: 0 / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.3692, allocations: 84.95 kB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3692, allocations: 4 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.3692, allocations: 0 / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3693, allocations: 11.98 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001801/0.3695, allocations: 153 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001955/0.3697, allocations: 263.1 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.621e-05/0.3697, allocations: 24.08 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.3697, allocations: 79.28 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of Backend: time 2.9e-07/0.3697, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3702, allocations: 139.3 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003498/0.3705, allocations: 0.5652 MB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Templates: time 0.002785/0.3733, allocations: 0.9717 MB / 0.7726 GB, free: 13.93 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)