Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 175.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007092/0.0007092, allocations: 84.56 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007111/0.2053, allocations: 355.1 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.2057, allocations: 167.5 kB / 0.8972 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.2058, allocations: 0 / 0.8972 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.2058, allocations: 4 kB / 0.8972 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.874e-05/0.2058, allocations: 0 / 0.8972 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2061, allocations: 27.91 kB / 0.8973 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.2061, allocations: 19.98 kB / 0.8973 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.2062, allocations: 0 / 0.8973 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.2062, allocations: 11.98 kB / 0.8973 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.2062, allocations: 7.938 kB / 0.8973 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2063, allocations: 0 / 0.8973 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.2063, allocations: 31.97 kB / 0.8973 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.2063, allocations: 7.969 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.2064, allocations: 11.94 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.967e-05/0.2064, allocations: 15.97 kB / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2064, allocations: 0 / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2065, allocations: 0 / 0.8974 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2065, allocations: 0 / 0.8974 GB, free: 67.49 MB / 0.6042 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.0002675/0.2067, allocations: 335.7 kB / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2068, allocations: 12.03 kB / 0.8977 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.2068, allocations: 0.9375 kB / 0.8977 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.182e-05/0.2069, allocations: 164.3 kB / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2069, allocations: 4.375 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2069, allocations: 8.375 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.421e-05/0.207, allocations: 42.25 kB / 0.8979 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.207, allocations: 192 / 0.8979 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.207, allocations: 3.938 kB / 0.8979 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2071, allocations: 0 / 0.8979 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.2071, allocations: 19.98 kB / 0.8979 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.2072, allocations: 157.7 kB / 0.8981 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.2073, allocations: 51.31 kB / 0.8981 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.2073, allocations: 16.98 kB / 0.8982 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/0.2074, allocations: 85.09 kB / 0.8982 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.2074, allocations: 30.56 kB / 0.8983 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.2074, allocations: 0 / 0.8983 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001028/0.2085, allocations: 495.9 kB / 0.8987 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2085, allocations: 55.41 kB / 0.8988 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.783e-05/0.2085, allocations: 97.78 kB / 0.8989 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.2086, allocations: 29.7 kB / 0.8989 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.093e-05/0.2086, allocations: 84.14 kB / 0.899 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.2086, allocations: 19.66 kB / 0.899 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.2086, allocations: 13.72 kB / 0.899 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.2087, allocations: 318.8 kB / 0.8993 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2087, allocations: 8 kB / 0.8993 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.2087, allocations: 20.09 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.2088, allocations: 40.8 kB / 0.8994 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2088, allocations: 0 / 0.8994 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.127e-05/0.2089, allocations: 65.69 kB / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2089, allocations: 7.938 kB / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2089, allocations: 0 / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2089, allocations: 7.922 kB / 0.8995 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.209, allocations: 19.98 kB / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.209, allocations: 0 / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.209, allocations: 0 / 0.8995 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2091, allocations: 8 kB / 0.8995 GB, free: 65 MB / 0.6042 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 5.478e-05/0.2091, allocations: 109.8 kB / 0.8996 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.2091, allocations: 7.938 kB / 0.8996 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2093, allocations: 85.47 kB / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2093, allocations: 4 kB / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2093, allocations: 448 / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2093, allocations: 0 / 0.8997 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.887e-05/0.2094, allocations: 165.7 kB / 0.8999 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2094, allocations: 8 kB / 0.8999 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.2095, allocations: 15.98 kB / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2095, allocations: 3.938 kB / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2095, allocations: 0 / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2095, allocations: 0 / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2095, allocations: 0 / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.2096, allocations: 117.4 kB / 0.9 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.2097, allocations: 84.98 kB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2097, allocations: 64 / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.2097, allocations: 12.03 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2097, allocations: 3.984 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2098, allocations: 4 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.593e-05/0.2098, allocations: 75.28 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2098, allocations: 0 / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001962/0.21, allocations: 32 kB / 0.9002 GB, free: 64.18 MB / 0.6042 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.0001692/0.2102, allocations: 131.2 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.2103, allocations: 48.08 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2103, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.2103, allocations: 23.98 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2104, allocations: 5.875 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.2107, allocations: 187.6 kB / 0.9006 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.2108, allocations: 0.677 MB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2108, allocations: 23.38 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2108, allocations: 0 / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.001971/0.2128, allocations: 0.9064 MB / 0.9021 GB, free: 62.13 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)