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.2079/0.2099, allocations: 80.83 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001814/0.2118, allocations: 0.5704 MB / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004293/0.2122, allocations: 163.8 kB / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.2123, allocations: 0 / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.2123, allocations: 0 / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.906e-05/0.2123, allocations: 4 kB / 0.6714 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.2127, allocations: 43.83 kB / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.2127, allocations: 11.98 kB / 0.6714 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.2128, allocations: 8 kB / 0.6714 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.2128, allocations: 0 / 0.6714 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.2129, allocations: 11.92 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2129, allocations: 0 / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.213, allocations: 35.95 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2131, allocations: 8 kB / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.2131, allocations: 7.922 kB / 0.6715 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2132, allocations: 35.95 kB / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2132, allocations: 0 / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2132, allocations: 0 / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2132, allocations: 0 / 0.6715 GB, free: 1.09 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.0004112/0.2136, allocations: 331.5 kB / 0.6718 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2137, allocations: 12.03 kB / 0.6718 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2137, allocations: 0.9375 kB / 0.6718 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2139, allocations: 172.4 kB / 0.672 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2139, allocations: 4.375 kB / 0.672 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.2139, allocations: 8.281 kB / 0.672 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.2141, allocations: 49.56 kB / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2141, allocations: 3.938 kB / 0.6721 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2141, allocations: 0 / 0.6721 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2141, allocations: 4 kB / 0.6721 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.2142, allocations: 15.98 kB / 0.6721 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2144, allocations: 153.7 kB / 0.6722 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.2145, allocations: 42.62 kB / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.2146, allocations: 24.92 kB / 0.6723 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.2147, allocations: 97.02 kB / 0.6724 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.2147, allocations: 30.56 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2148, allocations: 0 / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001322/0.2161, allocations: 492.5 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2161, allocations: 55.41 kB / 0.6729 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.2162, allocations: 93.86 kB / 0.673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2162, allocations: 25.7 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.2163, allocations: 80.14 kB / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2163, allocations: 23.7 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2163, allocations: 17.72 kB / 0.6732 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2164, allocations: 322.8 kB / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.2165, allocations: 4 kB / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.2165, allocations: 19.92 kB / 0.6735 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.2166, allocations: 40.98 kB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2166, allocations: 0 / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.2167, allocations: 77.52 kB / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2167, allocations: 4 kB / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2167, allocations: 4 kB / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2168, allocations: 0 / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.2168, allocations: 19.92 kB / 0.6736 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2169, allocations: 3.938 kB / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.2169, allocations: 0 / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2169, allocations: 0 / 0.6737 GB, free: 14.59 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 9.297e-05/0.217, allocations: 121.8 kB / 0.6738 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.217, allocations: 0 / 0.6738 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.2172, allocations: 81.58 kB / 0.6738 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2172, allocations: 3.984 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2172, allocations: 0 / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2172, allocations: 0 / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.2174, allocations: 165.6 kB / 0.674 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2174, allocations: 4 kB / 0.674 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/0.2175, allocations: 19.92 kB / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2175, allocations: 4 kB / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2175, allocations: 0 / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2175, allocations: 400 / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2175, allocations: 0 / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2177, allocations: 121 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2178, allocations: 85.05 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2178, allocations: 3.938 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.2179, allocations: 8.062 kB / 0.6742 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.2179, allocations: 11.92 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2179, allocations: 4 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.218, allocations: 75.28 kB / 0.6743 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.218, allocations: 0 / 0.6743 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000241/0.2182, allocations: 28 kB / 0.6744 GB, free: 13.75 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.0002491/0.2185, allocations: 131.2 kB / 0.6745 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.2186, allocations: 40.08 kB / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2187, allocations: 0 / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.2187, allocations: 27.92 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.2189, allocations: 11.94 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.2192, allocations: 133.7 kB / 0.6747 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2195, allocations: 0.6807 MB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2196, allocations: 11.94 kB / 0.6754 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.2196, allocations: 11.44 kB / 0.6754 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.2196, allocations: 0 / 0.6754 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.003689/0.2233, allocations: 0.8876 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)