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.001311/0.001312, allocations: 107.3 kB / 17.04 MB, free: 6.082 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.001094/0.001094, allocations: 195 kB / 17.98 MB, free: 5.16 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.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 67.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3469, allocations: 76.13 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002403/0.3494, allocations: 0.5912 MB / 0.5582 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004756/0.3499, allocations: 164.3 kB / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.3499, allocations: 0 / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.35, allocations: 0 / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.35, allocations: 3.938 kB / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.3504, allocations: 42.69 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.3505, allocations: 10.77 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.3505, allocations: 1.312 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.3506, allocations: 11.41 kB / 0.5584 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.3506, allocations: 11.97 kB / 0.5584 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3507, allocations: 2.219 kB / 0.5584 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3508, allocations: 31.41 kB / 0.5584 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3508, allocations: 5.5 kB / 0.5584 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.3508, allocations: 10.03 kB / 0.5584 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.351, allocations: 25.5 kB / 0.5585 GB, free: 36.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.351, allocations: 1.156 kB / 0.5585 GB, free: 36.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.351, allocations: 0.8438 kB / 0.5585 GB, free: 36.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.351, allocations: 0 / 0.5585 GB, free: 36.19 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.0003677/0.3514, allocations: 331.2 kB / 0.5588 GB, free: 35.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3514, allocations: 11.12 kB / 0.5588 GB, free: 35.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3515, allocations: 2.125 kB / 0.5588 GB, free: 35.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.592e-05/0.3516, allocations: 167.4 kB / 0.559 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3516, allocations: 12.44 kB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3516, allocations: 5.5 kB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3518, allocations: 43.25 kB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3518, allocations: 192 / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3518, allocations: 3.938 kB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3518, allocations: 3.5 kB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.3519, allocations: 15.73 kB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3521, allocations: 162.4 kB / 0.5592 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3522, allocations: 49.56 kB / 0.5592 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.3523, allocations: 18.88 kB / 0.5593 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3524, allocations: 83.45 kB / 0.5593 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3524, allocations: 36.09 kB / 0.5594 GB, free: 35.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3524, allocations: 0 / 0.5594 GB, free: 35.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001569/0.354, allocations: 488.8 kB / 0.5598 GB, free: 34.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.354, allocations: 59.14 kB / 0.5599 GB, free: 34.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.3541, allocations: 96.11 kB / 0.56 GB, free: 34.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3541, allocations: 27.77 kB / 0.56 GB, free: 34.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.3542, allocations: 80.14 kB / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.3542, allocations: 21.8 kB / 0.5601 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3543, allocations: 23.06 kB / 0.5601 GB, free: 34.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3543, allocations: 317 kB / 0.5604 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.3544, allocations: 9.25 kB / 0.5604 GB, free: 34.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.3544, allocations: 20.56 kB / 0.5605 GB, free: 34.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.3545, allocations: 37.38 kB / 0.5605 GB, free: 34.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3545, allocations: 0 / 0.5605 GB, free: 34.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001414/0.3546, allocations: 69.83 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3547, allocations: 10.97 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3547, allocations: 2.25 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3547, allocations: 1.062 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.3548, allocations: 15.53 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3548, allocations: 5.078 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.3549, allocations: 2.406 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3549, allocations: 1.094 kB / 0.5606 GB, free: 34.09 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.111e-05/0.355, allocations: 114.2 kB / 0.5607 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.355, allocations: 13.22 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.3552, allocations: 84.08 kB / 0.5608 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3552, allocations: 2.859 kB / 0.5608 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3552, allocations: 1.438 kB / 0.5608 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3552, allocations: 1.781 kB / 0.5608 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3553, allocations: 168.1 kB / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3553, allocations: 0 / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3555, allocations: 12.14 kB / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3555, allocations: 5.312 kB / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3555, allocations: 2.031 kB / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3555, allocations: 0 / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3555, allocations: 2.266 kB / 0.561 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3558, allocations: 119.9 kB / 0.5611 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.3558, allocations: 87.22 kB / 0.5612 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3558, allocations: 2.109 kB / 0.5612 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.3559, allocations: 7.016 kB / 0.5612 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.3559, allocations: 7.906 kB / 0.5612 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3559, allocations: 3.203 kB / 0.5612 GB, free: 33.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2e-05/0.356, allocations: 76.62 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.356, allocations: 1.531 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3563, allocations: 34.28 kB / 0.5613 GB, free: 33.42 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.0002323/0.3566, allocations: 132.7 kB / 0.5614 GB, free: 33.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3567, allocations: 41.41 kB / 0.5615 GB, free: 33.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3568, allocations: 2.125 kB / 0.5615 GB, free: 33.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.3568, allocations: 24.23 kB / 0.5615 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.357, allocations: 8.25 kB / 0.5615 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.3574, allocations: 131.6 kB / 0.5616 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3575, allocations: 0.6851 MB / 0.5623 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.228e-05/0.3576, allocations: 10.48 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.3576, allocations: 12.34 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3576, allocations: 1.594 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004084/0.3617, allocations: 0.859 MB / 0.5632 GB, free: 32.44 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)