Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 189 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 89.69 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004222, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007418/0.2495, allocations: 338 kB / 0.9797 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.2499, allocations: 145.2 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.2499, allocations: 4 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.2499, allocations: 0 / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.173e-05/0.25, allocations: 0 / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2503, allocations: 31.89 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.2503, allocations: 11.94 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.2504, allocations: 4 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.2504, allocations: 7.984 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.2504, allocations: 4 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2505, allocations: 0 / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.2505, allocations: 31.95 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.655e-06/0.2505, allocations: 11.88 kB / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.2506, allocations: 25.7 kB / 0.98 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.088e-05/0.2506, allocations: 19.97 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2506, allocations: 0 / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2506, allocations: 4 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2507, allocations: 0 / 0.98 GB, free: 27.07 MB / 0.6198 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.0002904/0.251, allocations: 324.8 kB / 0.9803 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.251, allocations: 12.02 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.251, allocations: 3.906 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.2511, allocations: 175.2 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.2511, allocations: 4 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2511, allocations: 4 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.471e-05/0.2512, allocations: 41.69 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2512, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2512, allocations: 4 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-06/0.2513, allocations: 3.938 kB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.2513, allocations: 15.98 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.2514, allocations: 157.6 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.2515, allocations: 42.62 kB / 0.9808 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.2516, allocations: 85.09 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.2516, allocations: 34.69 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2516, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001051/0.2527, allocations: 492 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.417e-05/0.2527, allocations: 51.41 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.2527, allocations: 97.84 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.2527, allocations: 25.7 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.2528, allocations: 88.27 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.2528, allocations: 19.66 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.2528, allocations: 0 / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.2528, allocations: 318.8 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2529, allocations: 8 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.2529, allocations: 15.98 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.2529, allocations: 24.14 kB / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2529, allocations: 3.953 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.416e-05/0.253, allocations: 77.53 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.253, allocations: 13.97 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.253, allocations: 0 / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2531, allocations: 0 / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.2531, allocations: 15.98 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.2531, allocations: 0 / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.2532, allocations: 0 / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2532, allocations: 8 kB / 0.9821 GB, free: 24.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.2532, allocations: 105.8 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2532, allocations: 7.953 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2534, allocations: 85.58 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2534, allocations: 4 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2534, allocations: 0 / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2534, allocations: 448 / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.2535, allocations: 169.6 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2535, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.2536, allocations: 19.95 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2536, allocations: 0 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2536, allocations: 0 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2536, allocations: 4 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2536, allocations: 0 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2537, allocations: 117 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.2538, allocations: 85.12 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2538, allocations: 3.953 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.2538, allocations: 0 / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2538, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2539, allocations: 4 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.674e-05/0.2539, allocations: 87.33 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001969/0.2541, allocations: 28 kB / 0.9828 GB, free: 23.85 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.2543, allocations: 135.2 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.2543, allocations: 35.92 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2543, allocations: 7.938 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.2544, allocations: 12 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.473e-05/0.2544, allocations: 16.08 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.2546, allocations: 144.8 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.362e-05/0.2547, allocations: 0.6809 MB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.2548, allocations: 12.47 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2548, allocations: 15.44 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2548, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.002145/0.257, allocations: 0.8368 MB / 0.9846 GB, free: 21.93 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)