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.0007542/0.0007543, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004458/0.004458, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.378/1.378, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.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.658/1.658, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005068/0.0005068, allocations: 21.91 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007244/0.2194, allocations: 343.4 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2198, allocations: 159.5 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.2198, allocations: 0 / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.2198, allocations: 3.938 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.168e-05/0.2199, allocations: 3.938 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2201, allocations: 27.97 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.2202, allocations: 23.92 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.2202, allocations: 4 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.2203, allocations: 4 kB / 0.7884 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.2203, allocations: 11.98 kB / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2204, allocations: 0 / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.2204, allocations: 39.91 kB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2205, allocations: 7.969 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2205, allocations: 29.7 kB / 0.7885 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.485e-05/0.2206, allocations: 31.89 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2206, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.196e-06/0.2206, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2206, allocations: 7.938 kB / 0.7886 GB, free: 10.86 MB / 0.6075 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.0003405/0.221, allocations: 319.6 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.221, allocations: 8.031 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2211, allocations: 8.844 kB / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.2212, allocations: 168.6 kB / 0.789 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2212, allocations: 4.375 kB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2212, allocations: 4.375 kB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2213, allocations: 42.25 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.2213, allocations: 4.188 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2214, allocations: 3.938 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2214, allocations: 0 / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.2214, allocations: 15.98 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.2216, allocations: 157.6 kB / 0.7893 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.803e-05/0.2217, allocations: 46.62 kB / 0.7893 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.2217, allocations: 16.98 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.864e-05/0.2218, allocations: 85.11 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2219, allocations: 42.48 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2219, allocations: 0 / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001228/0.2231, allocations: 488.2 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2232, allocations: 55.41 kB / 0.79 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.2232, allocations: 93.86 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2232, allocations: 25.83 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2233, allocations: 84.14 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2233, allocations: 31.62 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.2233, allocations: 9.719 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.2234, allocations: 318.8 kB / 0.7905 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.2235, allocations: 15.98 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.2235, allocations: 4 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.621e-05/0.2236, allocations: 45.06 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.2236, allocations: 0 / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.2237, allocations: 81.52 kB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2237, allocations: 11.94 kB / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2237, allocations: 0 / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2237, allocations: 0 / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.2238, allocations: 19.92 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2238, allocations: 0 / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.2239, allocations: 0 / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2239, allocations: 0 / 0.7907 GB, free: 8.383 MB / 0.6075 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 7.042e-05/0.224, allocations: 114.5 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.224, allocations: 7.938 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.2241, allocations: 89.56 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2242, allocations: 0 / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2242, allocations: 0 / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2242, allocations: 0 / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2243, allocations: 161.7 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2243, allocations: 4 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.2244, allocations: 8 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2244, allocations: 7.938 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2244, allocations: 4 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2244, allocations: 4 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2244, allocations: 7.922 kB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2246, allocations: 113 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.2246, allocations: 89.06 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2246, allocations: 4.188 kB / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.2247, allocations: 4 kB / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.2247, allocations: 4 kB / 0.7913 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2247, allocations: 12.05 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.2248, allocations: 75.28 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2248, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.225, allocations: 32 kB / 0.7914 GB, free: 7.551 MB / 0.6075 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.0002007/0.2252, allocations: 123.2 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2253, allocations: 39.92 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2253, allocations: 0 / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.2254, allocations: 28.06 kB / 0.7916 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2255, allocations: 10.44 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.2258, allocations: 152.6 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.226, allocations: 0.6809 MB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.2261, allocations: 8.547 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.2261, allocations: 15.42 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2261, allocations: 0 / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.002911/0.229, allocations: 0.8517 MB / 0.7932 GB, free: 5.602 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: