Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1934/0.1953, allocations: 80.84 MB / 0.5899 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001821/0.1971, allocations: 0.6345 MB / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.1975, allocations: 155.5 kB / 0.5907 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1975, allocations: 0 / 0.5907 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1976, allocations: 0 / 0.5907 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.001e-05/0.1976, allocations: 0 / 0.5907 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1979, allocations: 39.91 kB / 0.5907 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.051e-05/0.1979, allocations: 15.98 kB / 0.5907 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1979, allocations: 0 / 0.5907 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.198, allocations: 7.984 kB / 0.5907 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.198, allocations: 19.92 kB / 0.5907 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.198, allocations: 0 / 0.5907 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.1981, allocations: 31.97 kB / 0.5908 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1981, allocations: 0 / 0.5908 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1982, allocations: 15.92 kB / 0.5908 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.582e-05/0.1982, allocations: 23.95 kB / 0.5908 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1982, allocations: 0 / 0.5908 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1983, allocations: 0 / 0.5908 GB, free: 6.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1983, allocations: 0 / 0.5908 GB, free: 6.02 MB / 446.1 MB 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.0003803/0.1987, allocations: 343.7 kB / 0.5911 GB, free: 5.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1987, allocations: 11.97 kB / 0.5911 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1987, allocations: 4.938 kB / 0.5911 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1988, allocations: 168.3 kB / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-06/0.1988, allocations: 384 / 0.5913 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1989, allocations: 4.375 kB / 0.5913 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.591e-05/0.199, allocations: 49.81 kB / 0.5914 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.199, allocations: 0 / 0.5914 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.199, allocations: 0 / 0.5914 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.199, allocations: 0 / 0.5914 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.199, allocations: 15.98 kB / 0.5914 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1992, allocations: 165.7 kB / 0.5915 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.1993, allocations: 46.5 kB / 0.5916 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.1993, allocations: 20.92 kB / 0.5916 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.853e-05/0.1994, allocations: 81.11 kB / 0.5917 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1995, allocations: 38.48 kB / 0.5917 GB, free: 4.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1995, allocations: 4 kB / 0.5917 GB, free: 4.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001155/0.2006, allocations: 480.5 kB / 0.5922 GB, free: 4.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2007, allocations: 55.34 kB / 0.5922 GB, free: 4.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.2008, allocations: 97.8 kB / 0.5923 GB, free: 4.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2008, allocations: 25.7 kB / 0.5923 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.2008, allocations: 84.14 kB / 0.5924 GB, free: 4.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2008, allocations: 27.55 kB / 0.5924 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.2009, allocations: 25.84 kB / 0.5925 GB, free: 4.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.201, allocations: 314.8 kB / 0.5928 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.2011, allocations: 12 kB / 0.5928 GB, free: 3.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.2011, allocations: 15.98 kB / 0.5928 GB, free: 3.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.2011, allocations: 37.06 kB / 0.5928 GB, free: 3.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2012, allocations: 0 / 0.5928 GB, free: 3.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.943e-05/0.2013, allocations: 73.62 kB / 0.5929 GB, free: 3.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2013, allocations: 4 kB / 0.5929 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2013, allocations: 0 / 0.5929 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2013, allocations: 4 kB / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.2014, allocations: 19.92 kB / 0.5929 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2014, allocations: 0 / 0.5929 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.2014, allocations: 7.938 kB / 0.5929 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2014, allocations: 0 / 0.5929 GB, free: 3.52 MB / 446.1 MB 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 6.855e-05/0.2015, allocations: 114.7 kB / 0.5931 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.2015, allocations: 3.938 kB / 0.5931 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2017, allocations: 89.58 kB / 0.5931 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2017, allocations: 0 / 0.5931 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2017, allocations: 0 / 0.5931 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2017, allocations: 3.984 kB / 0.5931 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2019, allocations: 165.6 kB / 0.5933 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2019, allocations: 0 / 0.5933 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.202, allocations: 16 kB / 0.5933 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.202, allocations: 3.984 kB / 0.5933 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.202, allocations: 0 / 0.5933 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.202, allocations: 4 kB / 0.5933 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.202, allocations: 0 / 0.5933 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.2022, allocations: 120.9 kB / 0.5934 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2022, allocations: 77.11 kB / 0.5935 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2022, allocations: 8.031 kB / 0.5935 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.2023, allocations: 0 / 0.5935 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.2023, allocations: 8.047 kB / 0.5935 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.2023, allocations: 4 kB / 0.5935 GB, free: 2.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.2023, allocations: 79.34 kB / 0.5936 GB, free: 2.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2024, allocations: 0 / 0.5936 GB, free: 2.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.2026, allocations: 39.94 kB / 0.5936 GB, free: 2.691 MB / 446.1 MB 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.0001788/0.2028, allocations: 131.2 kB / 0.5938 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2029, allocations: 39.92 kB / 0.5938 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2029, allocations: 0 / 0.5938 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.2029, allocations: 23.98 kB / 0.5938 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2031, allocations: 3.938 kB / 0.5938 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2034, allocations: 161.3 kB / 0.594 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2036, allocations: 0.6807 MB / 0.5947 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.2037, allocations: 4.547 kB / 0.5947 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.2037, allocations: 11.44 kB / 0.5947 GB, free: 1.586 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2037, allocations: 3.938 kB / 0.5947 GB, free: 1.582 MB / 446.1 MB Notification: Performance of Templates: time 0.002756/0.2064, allocations: 0.8792 MB / 0.5955 GB, free: 0.7461 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)