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.1957/0.1976, allocations: 80.84 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001882/0.1996, allocations: 0.5694 MB / 0.6712 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004389/0.2001, allocations: 155.8 kB / 0.6714 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2001, allocations: 7.938 kB / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2001, allocations: 0 / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.472e-05/0.2002, allocations: 0 / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2005, allocations: 39.89 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.2006, allocations: 12 kB / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.2006, allocations: 0 / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.2007, allocations: 15.91 kB / 0.6714 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.2008, allocations: 11.94 kB / 0.6714 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2008, allocations: 0 / 0.6714 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.2009, allocations: 31.97 kB / 0.6715 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.2009, allocations: 3.984 kB / 0.6715 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2009, allocations: 19.92 kB / 0.6715 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.201, allocations: 23.97 kB / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.201, allocations: 0 / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2011, allocations: 0 / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2011, allocations: 3.938 kB / 0.6715 GB, free: 1.098 MB / 0.4981 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.0004637/0.2015, allocations: 335.5 kB / 0.6718 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2016, allocations: 8.031 kB / 0.6718 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.2016, allocations: 4.938 kB / 0.6719 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.2018, allocations: 160.4 kB / 0.672 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2018, allocations: 4.375 kB / 0.672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2018, allocations: 12.28 kB / 0.672 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.202, allocations: 45.62 kB / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.202, allocations: 0 / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.202, allocations: 0 / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.202, allocations: 0 / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.2021, allocations: 23.86 kB / 0.6721 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2023, allocations: 157.7 kB / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.2024, allocations: 50.61 kB / 0.6723 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.2024, allocations: 20.97 kB / 0.6723 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.2025, allocations: 89.03 kB / 0.6724 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.2026, allocations: 30.56 kB / 0.6724 GB, free: 16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2026, allocations: 0 / 0.6724 GB, free: 16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001228/0.2038, allocations: 492.2 kB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2039, allocations: 55.41 kB / 0.6729 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.204, allocations: 97.84 kB / 0.673 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.204, allocations: 29.7 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.2041, allocations: 80.14 kB / 0.6731 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.2041, allocations: 19.72 kB / 0.6732 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2042, allocations: 21.7 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2043, allocations: 310.8 kB / 0.6735 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.2044, allocations: 20.11 kB / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.2044, allocations: 12.08 kB / 0.6735 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.2045, allocations: 40.92 kB / 0.6735 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2045, allocations: 0 / 0.6735 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.2046, allocations: 81.52 kB / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2046, allocations: 4 kB / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2047, allocations: 0 / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2047, allocations: 3.938 kB / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.2048, allocations: 12 kB / 0.6736 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2048, allocations: 0 / 0.6736 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.2048, allocations: 8 kB / 0.6736 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2048, allocations: 4 kB / 0.6737 GB, free: 14.6 MB / 0.5137 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 0.0001093/0.205, allocations: 121.7 kB / 0.6738 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.205, allocations: 0 / 0.6738 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.2052, allocations: 85.58 kB / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2052, allocations: 0 / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2052, allocations: 0 / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2052, allocations: 0 / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2054, allocations: 173.8 kB / 0.674 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2054, allocations: 4 kB / 0.674 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.2055, allocations: 15.98 kB / 0.674 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2055, allocations: 0 / 0.674 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2055, allocations: 0 / 0.674 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.2056, allocations: 7.938 kB / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2056, allocations: 0 / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2058, allocations: 113 kB / 0.6741 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2058, allocations: 81.08 kB / 0.6742 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2059, allocations: 8.031 kB / 0.6742 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.2059, allocations: 3.984 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.2059, allocations: 4 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2059, allocations: 3.938 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.206, allocations: 83.28 kB / 0.6743 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.206, allocations: 0 / 0.6743 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002177/0.2062, allocations: 27.98 kB / 0.6744 GB, free: 13.77 MB / 0.5137 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.0002618/0.2065, allocations: 139.2 kB / 0.6745 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.2067, allocations: 39.97 kB / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2067, allocations: 0 / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.2067, allocations: 23.94 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2069, allocations: 3.938 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.2073, allocations: 138.3 kB / 0.6747 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.2077, allocations: 0.6845 MB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2077, allocations: 11.98 kB / 0.6754 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.2077, allocations: 19.42 kB / 0.6754 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2077, allocations: 0 / 0.6754 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.003899/0.2117, allocations: 0.8882 MB / 0.6762 GB, free: 11.78 MB / 0.5137 GB 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)