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.00113/0.00113, allocations: 115 kB / 17.04 MB, free: 5.812 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.001317/0.001317, allocations: 196 kB / 17.98 MB, free: 5.027 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7106/0.7106, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 76.14 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001488/0.3516, allocations: 0.5881 MB / 0.5582 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.3519, allocations: 162.3 kB / 0.5583 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.3519, allocations: 1.094 kB / 0.5583 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.3519, allocations: 0.5312 kB / 0.5583 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.284e-05/0.3519, allocations: 4.625 kB / 0.5583 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3522, allocations: 35.47 kB / 0.5584 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.3522, allocations: 13.88 kB / 0.5584 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.3523, allocations: 7.203 kB / 0.5584 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.3523, allocations: 2.781 kB / 0.5584 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.3524, allocations: 14.39 kB / 0.5584 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.3524, allocations: 1.25 kB / 0.5584 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.3524, allocations: 34.19 kB / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.3525, allocations: 5.781 kB / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.3525, allocations: 12.17 kB / 0.5584 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.505e-05/0.3526, allocations: 25.34 kB / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3526, allocations: 0.5156 kB / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3526, allocations: 2.094 kB / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3526, allocations: 0 / 0.5585 GB, free: 36.07 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.0002451/0.3528, allocations: 332.8 kB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3529, allocations: 13.56 kB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3529, allocations: 7.188 kB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.353, allocations: 169.8 kB / 0.559 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.353, allocations: 5.656 kB / 0.559 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.353, allocations: 6.906 kB / 0.559 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.15e-05/0.3531, allocations: 42 kB / 0.559 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.3531, allocations: 2.969 kB / 0.559 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3531, allocations: 3.938 kB / 0.559 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3531, allocations: 1.312 kB / 0.559 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.3532, allocations: 11.56 kB / 0.559 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.3533, allocations: 164.9 kB / 0.5592 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.3534, allocations: 50.94 kB / 0.5592 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.3534, allocations: 17.23 kB / 0.5593 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.3535, allocations: 86.02 kB / 0.5593 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.3535, allocations: 31.88 kB / 0.5594 GB, free: 35.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.3535, allocations: 0 / 0.5594 GB, free: 35.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000996/0.3545, allocations: 489.5 kB / 0.5598 GB, free: 34.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.3545, allocations: 54.22 kB / 0.5599 GB, free: 34.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.534e-05/0.3546, allocations: 94.02 kB / 0.56 GB, free: 34.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.3546, allocations: 35.11 kB / 0.56 GB, free: 34.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.3546, allocations: 80.7 kB / 0.5601 GB, free: 34.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3546, allocations: 22.83 kB / 0.5601 GB, free: 34.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3546, allocations: 22.39 kB / 0.5601 GB, free: 34.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.3547, allocations: 315 kB / 0.5604 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.3547, allocations: 12.36 kB / 0.5604 GB, free: 34.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.3547, allocations: 15.08 kB / 0.5605 GB, free: 34.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.3548, allocations: 31.3 kB / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3548, allocations: 0.5625 kB / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.899e-05/0.3549, allocations: 67.97 kB / 0.5606 GB, free: 33.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.3549, allocations: 9.891 kB / 0.5606 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3549, allocations: 1.312 kB / 0.5606 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3549, allocations: 3.594 kB / 0.5606 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.355, allocations: 18.33 kB / 0.5606 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.355, allocations: 1.156 kB / 0.5606 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.355, allocations: 5.031 kB / 0.5606 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3551, allocations: 5.375 kB / 0.5606 GB, free: 33.96 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 3.931e-05/0.3551, allocations: 108.6 kB / 0.5607 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3551, allocations: 17.25 kB / 0.5607 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.3553, allocations: 95.14 kB / 0.5608 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3553, allocations: 0 / 0.5608 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3553, allocations: 1.125 kB / 0.5608 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3553, allocations: 0.5 kB / 0.5608 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.528e-05/0.3554, allocations: 164.9 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3554, allocations: 1.375 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.3554, allocations: 14.02 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3554, allocations: 3.938 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.3555, allocations: 1.281 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3555, allocations: 2.5 kB / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3555, allocations: 0 / 0.561 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3556, allocations: 120 kB / 0.5611 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3556, allocations: 87.03 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3557, allocations: 2.266 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.3557, allocations: 1.344 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.3557, allocations: 5.25 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3557, allocations: 3.219 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.402e-05/0.3557, allocations: 81.56 kB / 0.5613 GB, free: 33.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3557, allocations: 0 / 0.5613 GB, free: 33.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.356, allocations: 30.89 kB / 0.5613 GB, free: 33.3 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.0001516/0.3561, allocations: 133.3 kB / 0.5614 GB, free: 33.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.3562, allocations: 42.95 kB / 0.5615 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3562, allocations: 0 / 0.5615 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.3563, allocations: 25.23 kB / 0.5615 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3564, allocations: 5.75 kB / 0.5615 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.3566, allocations: 137.2 kB / 0.5616 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.3567, allocations: 0.6789 MB / 0.5623 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.95e-05/0.3567, allocations: 13.14 kB / 0.5623 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.3568, allocations: 14.59 kB / 0.5623 GB, free: 32.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3568, allocations: 0.75 kB / 0.5623 GB, free: 32.36 MB / 446.1 MB Notification: Performance of Templates: time 0.002652/0.3594, allocations: 0.8688 MB / 0.5632 GB, free: 32.31 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)