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.001176/0.001176, allocations: 103.4 kB / 15.98 MB, free: 6.348 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.001083/0.001083, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7837/0.7837, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 0.4906 GB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 77.92 MB / 0.5667 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002116/0.371, allocations: 0.654 MB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004347/0.3714, allocations: 157.4 kB / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.3714, allocations: 2.562 kB / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.3715, allocations: 0 / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.3715, allocations: 0 / 0.5675 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.3719, allocations: 36.7 kB / 0.5676 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.3719, allocations: 22.53 kB / 0.5676 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.372, allocations: 5.531 kB / 0.5676 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.372, allocations: 9.422 kB / 0.5676 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.3721, allocations: 13.92 kB / 0.5676 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3721, allocations: 1.031 kB / 0.5676 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3722, allocations: 32.59 kB / 0.5677 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3723, allocations: 3.141 kB / 0.5677 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3723, allocations: 10.97 kB / 0.5677 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3724, allocations: 27.81 kB / 0.5677 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3724, allocations: 0.5625 kB / 0.5677 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3724, allocations: 0 / 0.5677 GB, free: 32.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3724, allocations: 0.5938 kB / 0.5677 GB, free: 32.16 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.000372/0.3728, allocations: 332 kB / 0.568 GB, free: 31.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3729, allocations: 10.17 kB / 0.568 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.3729, allocations: 7.906 kB / 0.568 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.373, allocations: 161.7 kB / 0.5682 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.373, allocations: 7.281 kB / 0.5682 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3731, allocations: 2.656 kB / 0.5682 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3732, allocations: 43.78 kB / 0.5682 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3732, allocations: 4.125 kB / 0.5682 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3732, allocations: 5.5 kB / 0.5682 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3732, allocations: 0.9688 kB / 0.5682 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.3733, allocations: 20.02 kB / 0.5683 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.3734, allocations: 156.2 kB / 0.5684 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.3735, allocations: 46.91 kB / 0.5685 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3736, allocations: 18.27 kB / 0.5685 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.719e-05/0.3737, allocations: 82.59 kB / 0.5686 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3737, allocations: 42.56 kB / 0.5686 GB, free: 31.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3737, allocations: 0 / 0.5686 GB, free: 31.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001251/0.375, allocations: 485.5 kB / 0.5691 GB, free: 30.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.375, allocations: 52.81 kB / 0.5691 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.3751, allocations: 97.12 kB / 0.5692 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.3751, allocations: 26.7 kB / 0.5692 GB, free: 30.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.3751, allocations: 82.36 kB / 0.5693 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.3751, allocations: 20.33 kB / 0.5693 GB, free: 30.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.3752, allocations: 24.78 kB / 0.5693 GB, free: 30.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.3752, allocations: 315 kB / 0.5696 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.3753, allocations: 13.58 kB / 0.5697 GB, free: 30.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.3753, allocations: 17.44 kB / 0.5697 GB, free: 30.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.3754, allocations: 41.14 kB / 0.5697 GB, free: 30.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3754, allocations: 0 / 0.5697 GB, free: 30.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001382/0.3755, allocations: 71.58 kB / 0.5698 GB, free: 30.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3756, allocations: 12.45 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3756, allocations: 1.781 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3756, allocations: 3.984 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.3757, allocations: 12.88 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3757, allocations: 1.531 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.3758, allocations: 5.406 kB / 0.5698 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3758, allocations: 2.188 kB / 0.5698 GB, free: 30.05 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 8.21e-05/0.3759, allocations: 119.5 kB / 0.5699 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3759, allocations: 5.094 kB / 0.5699 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.3761, allocations: 83.14 kB / 0.57 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3761, allocations: 2.281 kB / 0.57 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3761, allocations: 0 / 0.57 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3761, allocations: 0.7969 kB / 0.57 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3762, allocations: 166.5 kB / 0.5702 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3763, allocations: 4.438 kB / 0.5702 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.3763, allocations: 17.14 kB / 0.5702 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3764, allocations: 8.453 kB / 0.5702 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3764, allocations: 1.281 kB / 0.5702 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3764, allocations: 0 / 0.5702 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3764, allocations: 1.125 kB / 0.5702 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3766, allocations: 115.9 kB / 0.5703 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.3766, allocations: 83.86 kB / 0.5704 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3767, allocations: 0.6719 kB / 0.5704 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.3767, allocations: 7.062 kB / 0.5704 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3768, allocations: 8.484 kB / 0.5704 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3768, allocations: 2.922 kB / 0.5704 GB, free: 29.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.3768, allocations: 78 kB / 0.5705 GB, free: 29.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3768, allocations: 0 / 0.5705 GB, free: 29.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3771, allocations: 30.09 kB / 0.5705 GB, free: 29.39 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.0002457/0.3773, allocations: 137.5 kB / 0.5707 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.3775, allocations: 38.77 kB / 0.5707 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3775, allocations: 0 / 0.5707 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.3775, allocations: 28.08 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3777, allocations: 10.72 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.378, allocations: 145.9 kB / 0.5709 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3781, allocations: 0.6797 MB / 0.5715 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.3782, allocations: 16.61 kB / 0.5715 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3782, allocations: 11.72 kB / 0.5716 GB, free: 28.42 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3782, allocations: 1.594 kB / 0.5716 GB, free: 28.42 MB / 446.1 MB Notification: Performance of Templates: time 0.00347/0.3817, allocations: 0.8648 MB / 0.5724 GB, free: 28.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)