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.0008211/0.000821, allocations: 90.83 kB / 16.67 MB, free: 6.586 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.0009104/0.0009104, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.37/1.37, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7024/0.7024, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3658, allocations: 77.51 MB / 0.5606 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006458/0.3665, allocations: 334.6 kB / 0.5609 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003983/0.3669, allocations: 157.2 kB / 0.5611 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.3669, allocations: 1.25 kB / 0.5611 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.367, allocations: 0 / 0.5611 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.861e-05/0.367, allocations: 0 / 0.5611 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3673, allocations: 31.73 kB / 0.5611 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.3673, allocations: 22.28 kB / 0.5611 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.3674, allocations: 4.906 kB / 0.5611 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.3674, allocations: 3.281 kB / 0.5611 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.3674, allocations: 14.05 kB / 0.5611 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3675, allocations: 0.8125 kB / 0.5611 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.3676, allocations: 36.95 kB / 0.5612 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3676, allocations: 1.344 kB / 0.5612 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3676, allocations: 28.52 kB / 0.5612 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.875e-05/0.3677, allocations: 21.67 kB / 0.5612 GB, free: 35.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3677, allocations: 1.375 kB / 0.5612 GB, free: 35.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3677, allocations: 4.594 kB / 0.5612 GB, free: 35.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3677, allocations: 0 / 0.5612 GB, free: 35.17 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.000289/0.368, allocations: 322.9 kB / 0.5615 GB, free: 34.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.368, allocations: 9.719 kB / 0.5615 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3681, allocations: 6.969 kB / 0.5615 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.3682, allocations: 164.4 kB / 0.5617 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3682, allocations: 1.688 kB / 0.5617 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3682, allocations: 4.625 kB / 0.5617 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.3683, allocations: 43.36 kB / 0.5618 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3683, allocations: 4.172 kB / 0.5618 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3683, allocations: 9.406 kB / 0.5618 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3683, allocations: 0 / 0.5618 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.3684, allocations: 16.72 kB / 0.5618 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.3685, allocations: 159.3 kB / 0.5619 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.3686, allocations: 46.88 kB / 0.562 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.3687, allocations: 27.5 kB / 0.562 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-05/0.3687, allocations: 80.56 kB / 0.5621 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3688, allocations: 41.47 kB / 0.5621 GB, free: 34.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3688, allocations: 1.188 kB / 0.5621 GB, free: 34.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001152/0.3699, allocations: 487.7 kB / 0.5626 GB, free: 33.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.37, allocations: 57 kB / 0.5626 GB, free: 33.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.882e-05/0.37, allocations: 92.98 kB / 0.5627 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.37, allocations: 26.89 kB / 0.5628 GB, free: 33.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.515e-05/0.3701, allocations: 81.73 kB / 0.5628 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3701, allocations: 21.77 kB / 0.5629 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.3701, allocations: 15.81 kB / 0.5629 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.3702, allocations: 316.2 kB / 0.5632 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.3702, allocations: 12.22 kB / 0.5632 GB, free: 33.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.3702, allocations: 14.92 kB / 0.5632 GB, free: 33.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.3703, allocations: 36.64 kB / 0.5632 GB, free: 33.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3703, allocations: 0 / 0.5632 GB, free: 33.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.734e-05/0.3704, allocations: 74.66 kB / 0.5633 GB, free: 33.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3704, allocations: 8.312 kB / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3704, allocations: 4.25 kB / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3705, allocations: 1.375 kB / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.3705, allocations: 14.75 kB / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3706, allocations: 0 / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.3706, allocations: 1.625 kB / 0.5633 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3706, allocations: 5.797 kB / 0.5633 GB, free: 33.07 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 5.275e-05/0.3707, allocations: 116.4 kB / 0.5634 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3707, allocations: 13.08 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.3708, allocations: 81.95 kB / 0.5635 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3708, allocations: 5.391 kB / 0.5635 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3708, allocations: 1.125 kB / 0.5635 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3709, allocations: 5.25 kB / 0.5636 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.085e-05/0.3709, allocations: 162.1 kB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.371, allocations: 0.5625 kB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.371, allocations: 13.31 kB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.371, allocations: 7.875 kB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3711, allocations: 6.281 kB / 0.5637 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3711, allocations: 3.438 kB / 0.5637 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3711, allocations: 0 / 0.5637 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3712, allocations: 111.2 kB / 0.5638 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.3713, allocations: 90.89 kB / 0.5639 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3713, allocations: 2.156 kB / 0.5639 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.3713, allocations: 1.312 kB / 0.5639 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.3714, allocations: 6.219 kB / 0.5639 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3714, allocations: 2.688 kB / 0.5639 GB, free: 32.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.3714, allocations: 82.12 kB / 0.564 GB, free: 32.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3714, allocations: 0 / 0.564 GB, free: 32.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.3716, allocations: 30.77 kB / 0.564 GB, free: 32.4 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.0001803/0.3718, allocations: 134.2 kB / 0.5642 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.3719, allocations: 40.84 kB / 0.5642 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3719, allocations: 0 / 0.5642 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.372, allocations: 22.44 kB / 0.5642 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3721, allocations: 6.438 kB / 0.5642 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.3724, allocations: 179 kB / 0.5644 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3725, allocations: 0.6805 MB / 0.5651 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3725, allocations: 12.75 kB / 0.5651 GB, free: 31.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3725, allocations: 0 / 0.5651 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Templates: time 0.002478/0.375, allocations: 0.9175 MB / 0.566 GB, free: 31.38 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)