Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 104.6 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 194.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.216, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001764/0.2178, allocations: 0.6059 MB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003944/0.2182, allocations: 155.5 kB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.2183, allocations: 0 / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.2183, allocations: 7.938 kB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.2183, allocations: 0 / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.2186, allocations: 43.83 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.2187, allocations: 15.98 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.2188, allocations: 4 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2188, allocations: 4 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.2189, allocations: 15.91 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2189, allocations: 0 / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.219, allocations: 31.97 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.219, allocations: 4 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.219, allocations: 7.938 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.2191, allocations: 31.94 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2191, allocations: 4 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2191, allocations: 0 / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2191, allocations: 4 kB / 0.7857 GB, free: 2.215 MB / 0.6544 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.0003819/0.2195, allocations: 326.3 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2196, allocations: 12.03 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.2196, allocations: 0.9375 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2197, allocations: 168.2 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2197, allocations: 8.375 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.2198, allocations: 4.359 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2199, allocations: 50.12 kB / 0.7862 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2199, allocations: 12.11 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2199, allocations: 3.938 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2199, allocations: 0 / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.22, allocations: 12 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.2202, allocations: 157.7 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.2203, allocations: 42.62 kB / 0.7864 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.2203, allocations: 24.97 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.2204, allocations: 89.05 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2204, allocations: 34.56 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2205, allocations: 0 / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001206/0.2217, allocations: 484 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2217, allocations: 51.41 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.276e-05/0.2218, allocations: 97.86 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2218, allocations: 25.83 kB / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.2218, allocations: 84.14 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.2219, allocations: 27.64 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2219, allocations: 17.72 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3265/0.5484, allocations: 312.7 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.5485, allocations: 13.38 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.5485, allocations: 11.67 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.5486, allocations: 37.55 kB / 0.7877 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5486, allocations: 2.844 kB / 0.7877 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001219/0.5487, allocations: 72.25 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5488, allocations: 10.94 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5488, allocations: 0 / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5488, allocations: 5.328 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5489, allocations: 15.19 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5489, allocations: 2.656 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.549, allocations: 0 / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.549, allocations: 3.688 kB / 0.7878 GB, free: 48.37 MB / 0.6544 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.576e-05/0.549, allocations: 113.2 kB / 0.7879 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.549, allocations: 1.312 kB / 0.7879 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5492, allocations: 87.5 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5492, allocations: 3.125 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5492, allocations: 4.922 kB / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5492, allocations: 0 / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.112e-05/0.5493, allocations: 162.8 kB / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5493, allocations: 0 / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.5494, allocations: 16.5 kB / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5494, allocations: 0 / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5494, allocations: 6.531 kB / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5495, allocations: 0 / 0.7882 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5495, allocations: 3.938 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.5496, allocations: 121.1 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5496, allocations: 80.39 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5497, allocations: 4.578 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.5497, allocations: 4 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.5497, allocations: 11.25 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.5498, allocations: 10.05 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.641e-05/0.5498, allocations: 75.28 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5498, allocations: 0 / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002398/0.55, allocations: 31.47 kB / 0.7885 GB, free: 47.8 MB / 0.6544 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.0001703/0.5502, allocations: 132 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.5503, allocations: 35.8 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5503, allocations: 0.5938 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.5504, allocations: 28.59 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.5505, allocations: 6.406 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.5508, allocations: 136.5 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.5509, allocations: 0.678 MB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.5509, allocations: 11.8 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.5509, allocations: 10.06 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.5509, allocations: 0 / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002782/0.5537, allocations: 0.8779 MB / 0.7904 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)