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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 186 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.011/1.011, allocations: 149.6 MB / 456.6 MB, free: 1.16 MB / 350.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 69.8 kB / 0.6329 GB, free: 8.926 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1972, allocations: 87.87 MB / 0.7187 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001796/0.199, allocations: 0.6081 MB / 0.7193 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004368/0.1994, allocations: 160 kB / 0.7195 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1994, allocations: 3.938 kB / 0.7195 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.1994, allocations: 4 kB / 0.7195 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.837e-05/0.1995, allocations: 0 / 0.7195 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1998, allocations: 35.89 kB / 0.7195 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.1999, allocations: 15.98 kB / 0.7195 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1999, allocations: 7.938 kB / 0.7195 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1999, allocations: 11.92 kB / 0.7195 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.2, allocations: 11.98 kB / 0.7195 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2, allocations: 0 / 0.7195 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.2001, allocations: 31.97 kB / 0.7196 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.2001, allocations: 3.938 kB / 0.7196 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.2001, allocations: 12 kB / 0.7196 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2002, allocations: 31.88 kB / 0.7196 GB, free: 36 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2003, allocations: 0 / 0.7196 GB, free: 36 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2003, allocations: 0 / 0.7196 GB, free: 36 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.2003, allocations: 0 / 0.7196 GB, free: 36 kB / 0.5294 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.0003939/0.2007, allocations: 254.3 kB / 0.7199 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2007, allocations: 8.625 kB / 0.7199 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2007, allocations: 4.938 kB / 0.7199 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2008, allocations: 102.5 kB / 0.72 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2008, allocations: 8.375 kB / 0.72 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2009, allocations: 8.328 kB / 0.72 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.201, allocations: 42.25 kB / 0.72 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.201, allocations: 8.172 kB / 0.72 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.201, allocations: 3.938 kB / 0.72 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.201, allocations: 0 / 0.72 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.2011, allocations: 15.94 kB / 0.7201 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.2013, allocations: 128.8 kB / 0.7202 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.2014, allocations: 46.62 kB / 0.7202 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.2014, allocations: 20.97 kB / 0.7202 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.2015, allocations: 7.984 kB / 0.7202 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2015, allocations: 34.56 kB / 0.7203 GB, free: 15.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2015, allocations: 0 / 0.7203 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001337/0.2029, allocations: 414.8 kB / 0.7207 GB, free: 14.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2029, allocations: 59.34 kB / 0.7207 GB, free: 14.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.203, allocations: 93.86 kB / 0.7208 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.203, allocations: 29.7 kB / 0.7209 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.203, allocations: 80.14 kB / 0.7209 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2031, allocations: 31.73 kB / 0.721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.2031, allocations: 17.72 kB / 0.721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2033, allocations: 314.8 kB / 0.7213 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.2033, allocations: 16.11 kB / 0.7213 GB, free: 14.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.467e-05/0.2033, allocations: 12.44 kB / 0.7213 GB, free: 14.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.568e-05/0.2034, allocations: 44.77 kB / 0.7213 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2034, allocations: 0 / 0.7213 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.2035, allocations: 73.67 kB / 0.7214 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2035, allocations: 7.938 kB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2035, allocations: 0 / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2035, allocations: 0 / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.2036, allocations: 16 kB / 0.7214 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2036, allocations: 0 / 0.7214 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.2037, allocations: 4 kB / 0.7214 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2037, allocations: 7.984 kB / 0.7214 GB, free: 13.92 MB / 0.545 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.784e-05/0.2038, allocations: 113.8 kB / 0.7216 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.2038, allocations: 7.938 kB / 0.7216 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.2039, allocations: 73.89 kB / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2039, allocations: 4 kB / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2039, allocations: 0 / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2039, allocations: 0 / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2041, allocations: 140.7 kB / 0.7218 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2041, allocations: 4 kB / 0.7218 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.2042, allocations: 12 kB / 0.7218 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2042, allocations: 3.938 kB / 0.7218 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.2042, allocations: 0 / 0.7218 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2042, allocations: 8.016 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2042, allocations: 3.984 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.2044, allocations: 113.1 kB / 0.7219 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.2044, allocations: 7.938 kB / 0.7219 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2044, allocations: 12.02 kB / 0.7219 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.2045, allocations: 4 kB / 0.7219 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.2045, allocations: 7.938 kB / 0.7219 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2045, allocations: 0 / 0.7219 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.2045, allocations: 79.27 kB / 0.722 GB, free: 13.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2045, allocations: 4 kB / 0.722 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.2047, allocations: 31.94 kB / 0.7221 GB, free: 13.22 MB / 0.545 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.0002207/0.205, allocations: 135.2 kB / 0.7222 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.2051, allocations: 35.98 kB / 0.7222 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2051, allocations: 0 / 0.7222 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.979e-05/0.2051, allocations: 23.92 kB / 0.7222 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2053, allocations: 4 kB / 0.7222 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.2056, allocations: 129.6 kB / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.206, allocations: 0.6807 MB / 0.723 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.206, allocations: 15.73 kB / 0.723 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.206, allocations: 11.44 kB / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.206, allocations: 0 / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of Templates: time 0.003786/0.2098, allocations: 0.9185 MB / 0.724 GB, free: 11.21 MB / 0.545 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 sys.exit(0), Time elapsed: 6.120990957133472] Failed to read output from testmodel.py, exit status != 0: 0.21835004445165396 0.232958623 0.029599606 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f34777857b0>