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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 103.3 kB / 16.94 MB, free: 6.191 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.002009/0.002009, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.443/1.443, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 0.4948 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3731, allocations: 78.56 MB / 0.5715 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001933/0.3751, allocations: 0.5872 MB / 0.5721 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.3755, allocations: 153.8 kB / 0.5722 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.3755, allocations: 1.156 kB / 0.5722 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.3756, allocations: 5.812 kB / 0.5723 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.3756, allocations: 3.938 kB / 0.5723 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3759, allocations: 43.78 kB / 0.5723 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.376, allocations: 8.875 kB / 0.5723 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.376, allocations: 2.609 kB / 0.5723 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.3761, allocations: 13.59 kB / 0.5723 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.3761, allocations: 9.641 kB / 0.5723 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3762, allocations: 1.188 kB / 0.5723 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.3762, allocations: 31.97 kB / 0.5724 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.3763, allocations: 8.234 kB / 0.5724 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.3763, allocations: 10.59 kB / 0.5724 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.84e-05/0.3764, allocations: 23.22 kB / 0.5724 GB, free: 30.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3764, allocations: 1.281 kB / 0.5724 GB, free: 30.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3764, allocations: 3.938 kB / 0.5724 GB, free: 30.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3764, allocations: 0.75 kB / 0.5724 GB, free: 30.92 MB / 446.1 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.000347/0.3768, allocations: 330.7 kB / 0.5727 GB, free: 30.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3768, allocations: 10.97 kB / 0.5727 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3769, allocations: 7.953 kB / 0.5727 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.248e-05/0.377, allocations: 166.4 kB / 0.5729 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.377, allocations: 1.625 kB / 0.5729 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.377, allocations: 3.125 kB / 0.5729 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3771, allocations: 42.56 kB / 0.5729 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3771, allocations: 1.781 kB / 0.5729 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3771, allocations: 8.578 kB / 0.573 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3772, allocations: 1.188 kB / 0.573 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.3772, allocations: 19.55 kB / 0.573 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.3773, allocations: 161.7 kB / 0.5731 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.3774, allocations: 49.11 kB / 0.5732 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.3775, allocations: 19.95 kB / 0.5732 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/0.3776, allocations: 81.59 kB / 0.5733 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.3776, allocations: 37 kB / 0.5733 GB, free: 29.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3776, allocations: 0 / 0.5733 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001175/0.3788, allocations: 496.4 kB / 0.5738 GB, free: 29.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3788, allocations: 57.16 kB / 0.5738 GB, free: 29.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.3788, allocations: 93 kB / 0.5739 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3789, allocations: 26.36 kB / 0.5739 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.439e-05/0.3789, allocations: 81.67 kB / 0.574 GB, free: 29.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3789, allocations: 24.23 kB / 0.574 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.379, allocations: 21.34 kB / 0.5741 GB, free: 29.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.379, allocations: 318.3 kB / 0.5744 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.379, allocations: 9.562 kB / 0.5744 GB, free: 28.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.3791, allocations: 16.08 kB / 0.5744 GB, free: 28.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.292e-05/0.3791, allocations: 37.47 kB / 0.5744 GB, free: 28.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3792, allocations: 0.5938 kB / 0.5744 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.3793, allocations: 72.41 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3793, allocations: 9.125 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3793, allocations: 1.031 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3793, allocations: 1.625 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.3794, allocations: 13.7 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3794, allocations: 0.875 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.3794, allocations: 2.531 kB / 0.5745 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3795, allocations: 2.625 kB / 0.5745 GB, free: 28.81 MB / 446.1 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 6.135e-05/0.3795, allocations: 112.8 kB / 0.5746 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3795, allocations: 7.016 kB / 0.5746 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.3797, allocations: 89.38 kB / 0.5747 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3797, allocations: 1.062 kB / 0.5747 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3797, allocations: 1.391 kB / 0.5747 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3797, allocations: 6.312 kB / 0.5747 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.3798, allocations: 170.8 kB / 0.5749 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3798, allocations: 0 / 0.5749 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.3799, allocations: 14.14 kB / 0.5749 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.38, allocations: 3.938 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.38, allocations: 2.156 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.38, allocations: 2.641 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.38, allocations: 1.031 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3801, allocations: 122.6 kB / 0.575 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.3802, allocations: 83.73 kB / 0.5751 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3802, allocations: 2.047 kB / 0.5751 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.3802, allocations: 7.062 kB / 0.5751 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3803, allocations: 6 kB / 0.5751 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3803, allocations: 1.828 kB / 0.5751 GB, free: 28.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.814e-05/0.3803, allocations: 83.88 kB / 0.5752 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3803, allocations: 0 / 0.5752 GB, free: 28.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3806, allocations: 33.97 kB / 0.5753 GB, free: 28.13 MB / 446.1 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.0001869/0.3807, allocations: 128.6 kB / 0.5754 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3809, allocations: 42.17 kB / 0.5754 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3809, allocations: 0 / 0.5754 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.3809, allocations: 24.88 kB / 0.5754 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3811, allocations: 12.66 kB / 0.5755 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3814, allocations: 170.6 kB / 0.5756 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.3815, allocations: 0.6799 MB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.3815, allocations: 12.03 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3815, allocations: 3.531 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Templates: time 0.00294/0.3845, allocations: 0.9266 MB / 0.5772 GB, free: 27.11 MB / 446.1 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)