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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 105.2 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 219.2 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9847/0.9847, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 61.81 kB / 0.6425 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1977, allocations: 89.18 MB / 0.7296 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001821/0.1995, allocations: 0.5993 MB / 0.7302 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.2, allocations: 167.5 kB / 0.7304 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.2, allocations: 0 / 0.7304 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.2, allocations: 0 / 0.7304 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.733e-05/0.2, allocations: 4 kB / 0.7304 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.2004, allocations: 43.73 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.2004, allocations: 4 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.2005, allocations: 11.98 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.2005, allocations: 11.94 kB / 0.7304 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.2006, allocations: 0 / 0.7304 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2006, allocations: 4 kB / 0.7304 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.2007, allocations: 39.94 kB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.2007, allocations: 4 kB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2007, allocations: 7.938 kB / 0.7305 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2008, allocations: 35.83 kB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2008, allocations: 0 / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2008, allocations: 0 / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2008, allocations: 0 / 0.7305 GB, free: 15.82 MB / 0.5606 GB 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.0004102/0.2012, allocations: 262.3 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2013, allocations: 11.97 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.2013, allocations: 8.891 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2014, allocations: 102.5 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.2014, allocations: 384 / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.2015, allocations: 8.375 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.2016, allocations: 46.19 kB / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2016, allocations: 192 / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2016, allocations: 3.938 kB / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2016, allocations: 0 / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.2017, allocations: 15.98 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.2018, allocations: 132.8 kB / 0.7311 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2019, allocations: 42.56 kB / 0.7311 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.202, allocations: 24.98 kB / 0.7312 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-05/0.2021, allocations: 3.984 kB / 0.7312 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2021, allocations: 38.5 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.2021, allocations: 0 / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001286/0.2034, allocations: 410.9 kB / 0.7316 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2034, allocations: 51.41 kB / 0.7316 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.2035, allocations: 93.86 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2035, allocations: 25.7 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.2035, allocations: 88.12 kB / 0.7318 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.2036, allocations: 23.75 kB / 0.7319 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.2036, allocations: 25.7 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2037, allocations: 314.8 kB / 0.7322 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.2038, allocations: 12 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.2038, allocations: 16.11 kB / 0.7322 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.2039, allocations: 40.73 kB / 0.7322 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.2039, allocations: 0 / 0.7322 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001172/0.204, allocations: 73.67 kB / 0.7323 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.204, allocations: 7.938 kB / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.204, allocations: 0 / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.204, allocations: 448 / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.2041, allocations: 15.98 kB / 0.7323 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2041, allocations: 320 / 0.7323 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.2041, allocations: 7.938 kB / 0.7323 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.2041, allocations: 8 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB 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.045e-05/0.2042, allocations: 117.8 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2042, allocations: 11.89 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.2044, allocations: 85.55 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2044, allocations: 4 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2044, allocations: 0 / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2044, allocations: 0 / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2046, allocations: 132.7 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2046, allocations: 0 / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.2046, allocations: 23.92 kB / 0.7327 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2047, allocations: 7.922 kB / 0.7327 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2047, allocations: 4 kB / 0.7327 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2047, allocations: 0 / 0.7327 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2047, allocations: 4 kB / 0.7327 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.2048, allocations: 105.1 kB / 0.7328 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.2049, allocations: 7.891 kB / 0.7328 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2049, allocations: 8.031 kB / 0.7328 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.2049, allocations: 4.062 kB / 0.7328 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.2049, allocations: 7.984 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2049, allocations: 0 / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.205, allocations: 79.22 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.205, allocations: 0 / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00022/0.2052, allocations: 35.92 kB / 0.733 GB, free: 13 MB / 0.5606 GB 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.0002173/0.2054, allocations: 123.2 kB / 0.7331 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.2055, allocations: 40.08 kB / 0.7331 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2056, allocations: 3.938 kB / 0.7331 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.2056, allocations: 23.92 kB / 0.7331 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.2057, allocations: 8 kB / 0.7332 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2061, allocations: 159.1 kB / 0.7333 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2064, allocations: 0.6807 MB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.2064, allocations: 11.44 kB / 0.734 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2064, allocations: 4 kB / 0.734 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.002784/0.2092, allocations: 0.9194 MB / 0.7349 GB, free: 10.97 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.230747680878267] Failed to read output from testmodel.py, exit status != 0: 0.21876962296664715 0.23137596800000002 0.02766491 Calling exit ...