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.736/1.736, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001424/0.001425, allocations: 185.5 kB / 372 MB, free: 10.26 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.893/1.893, allocations: 205.4 MB / 0.6307 GB, free: 9.949 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.0009026/0.0009026, allocations: 86.42 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 13.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007245/0.2342, allocations: 335.7 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.2345, allocations: 139.7 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.2346, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.2346, allocations: 7.938 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.2347, allocations: 0 / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.235, allocations: 31.91 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.235, allocations: 15.98 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2351, allocations: 0 / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.2351, allocations: 7.984 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.2352, allocations: 11.92 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2352, allocations: 3.938 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.2353, allocations: 31.97 kB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.2353, allocations: 0 / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2353, allocations: 29.7 kB / 0.9802 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.2354, allocations: 23.95 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2354, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2354, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.2354, allocations: 0 / 0.9802 GB, free: 27.02 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.0003052/0.2357, allocations: 327.4 kB / 0.9805 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2358, allocations: 12.02 kB / 0.9805 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.2358, allocations: 11.91 kB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.2359, allocations: 171.2 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2359, allocations: 7.984 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.236, allocations: 4 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2361, allocations: 45.62 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2361, allocations: 0 / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2361, allocations: 0 / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2361, allocations: 0 / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.2362, allocations: 15.98 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2363, allocations: 157.6 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.2364, allocations: 50.62 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.2364, allocations: 20.92 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/0.2365, allocations: 81.11 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.2366, allocations: 38.55 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2366, allocations: 0 / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001175/0.2377, allocations: 484.5 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2378, allocations: 55.41 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.2378, allocations: 93.86 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2379, allocations: 25.7 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.2379, allocations: 80.14 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2379, allocations: 27.64 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2379, allocations: 0 / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.238, allocations: 318.8 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.238, allocations: 15.98 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.238, allocations: 16.06 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.2381, allocations: 19.95 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2381, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.272e-05/0.2382, allocations: 65.59 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2382, allocations: 4 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2382, allocations: 0 / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2382, allocations: 7.938 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.2383, allocations: 11.98 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2383, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.2383, allocations: 8 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2384, allocations: 4 kB / 0.9823 GB, free: 24.58 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 5.429e-05/0.2384, allocations: 121.7 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2384, allocations: 3.984 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.2386, allocations: 89.91 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2386, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2386, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2386, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.2387, allocations: 161.7 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2387, allocations: 7.953 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.2388, allocations: 19.92 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2388, allocations: 0 / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2388, allocations: 0 / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2388, allocations: 4 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2388, allocations: 0 / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.239, allocations: 117 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.239, allocations: 81.06 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.239, allocations: 4.062 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.2391, allocations: 4.031 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.2391, allocations: 11.98 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.2391, allocations: 0 / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.517e-05/0.2391, allocations: 75.28 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2391, allocations: 0 / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002147/0.2394, allocations: 28 kB / 0.983 GB, free: 23.77 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.0001841/0.2395, allocations: 143.2 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.2397, allocations: 39.97 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2397, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.2397, allocations: 27.92 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.2398, allocations: 1.828 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.2401, allocations: 144.8 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2402, allocations: 0.6809 MB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.2403, allocations: 11.94 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.2403, allocations: 15.44 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2403, allocations: 0 / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.002766/0.2431, allocations: 0.8487 MB / 0.9848 GB, free: 21.83 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)