Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") [/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.2213/0.2239, allocations: 80.84 MB / 0.6706 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003042/0.227, allocations: 1.402 MB / 0.672 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004471/0.2275, allocations: 179.4 kB / 0.6722 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.2275, allocations: 0 / 0.6722 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.2276, allocations: 0 / 0.6722 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.2276, allocations: 3.938 kB / 0.6722 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.2279, allocations: 39.91 kB / 0.6722 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.228, allocations: 27.86 kB / 0.6722 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2281, allocations: 7.984 kB / 0.6722 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.2282, allocations: 8 kB / 0.6722 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.2282, allocations: 15.92 kB / 0.6723 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2283, allocations: 0 / 0.6723 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.2284, allocations: 35.97 kB / 0.6723 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.2284, allocations: 3.984 kB / 0.6723 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.2284, allocations: 11.94 kB / 0.6723 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2286, allocations: 39.88 kB / 0.6723 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2286, allocations: 4 kB / 0.6724 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2286, allocations: 0 / 0.6724 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2286, allocations: 0 / 0.6724 GB, free: 2.82 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005245/0.2291, allocations: 347.4 kB / 0.6727 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2292, allocations: 8.031 kB / 0.6727 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2292, allocations: 8.922 kB / 0.6727 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2294, allocations: 164.3 kB / 0.6729 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2294, allocations: 8.312 kB / 0.6729 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.2294, allocations: 4.359 kB / 0.6729 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.2296, allocations: 61.55 kB / 0.6729 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2297, allocations: 0 / 0.6729 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2297, allocations: 4 kB / 0.6729 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.2297, allocations: 0 / 0.6729 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.2299, allocations: 27.97 kB / 0.673 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.2302, allocations: 252.9 kB / 0.6732 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2304, allocations: 42.5 kB / 0.6732 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.2305, allocations: 24.89 kB / 0.6733 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.2305, allocations: 81.11 kB / 0.6733 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2306, allocations: 30.56 kB / 0.6734 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.2306, allocations: 0 / 0.6734 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000344/0.2309, allocations: 89.58 kB / 0.6735 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.231, allocations: 51.41 kB / 0.6735 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.231, allocations: 109.8 kB / 0.6736 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2311, allocations: 25.7 kB / 0.6736 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.2311, allocations: 80.14 kB / 0.6737 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2311, allocations: 11.78 kB / 0.6737 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2312, allocations: 21.84 kB / 0.6737 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.2313, allocations: 318.8 kB / 0.674 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.2314, allocations: 19.98 kB / 0.6741 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.2314, allocations: 11.98 kB / 0.6741 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2316, allocations: 40.89 kB / 0.6741 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2316, allocations: 0 / 0.6741 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.2318, allocations: 73.56 kB / 0.6742 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2318, allocations: 4 kB / 0.6742 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.2318, allocations: 0 / 0.6742 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2318, allocations: 0 / 0.6742 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.2319, allocations: 15.92 kB / 0.6742 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.232, allocations: 0 / 0.6742 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.232, allocations: 12.02 kB / 0.6742 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.232, allocations: 0 / 0.6742 GB, free: 0.668 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 (2): * Single equations (assignments): 2 * 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.324e-05/0.2321, allocations: 118.4 kB / 0.6743 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.2321, allocations: 4 kB / 0.6743 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2324, allocations: 68.78 kB / 0.6744 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2324, allocations: 0 / 0.6744 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2324, allocations: 4 kB / 0.6744 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2324, allocations: 4.031 kB / 0.6744 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2325, allocations: 165.6 kB / 0.6746 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2325, allocations: 0 / 0.6746 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.2326, allocations: 7.984 kB / 0.6746 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2326, allocations: 7.938 kB / 0.6746 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2326, allocations: 0 / 0.6746 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2326, allocations: 3.938 kB / 0.6746 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2326, allocations: 0 / 0.6746 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.2329, allocations: 167.5 kB / 0.6747 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.2329, allocations: 81.02 kB / 0.6748 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.233, allocations: 3.938 kB / 0.6748 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.233, allocations: 7.984 kB / 0.6748 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.2331, allocations: 4 kB / 0.6748 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2331, allocations: 4 kB / 0.6748 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.2331, allocations: 83.53 kB / 0.6749 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2332, allocations: 4.031 kB / 0.6749 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002281/0.2334, allocations: 8 kB / 0.6749 GB, free: 15.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001744/0.2336, allocations: 103.2 kB / 0.675 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2338, allocations: 47.84 kB / 0.6751 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2338, allocations: 0 / 0.6751 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.2339, allocations: 24.03 kB / 0.6751 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2342, allocations: 7.984 kB / 0.6751 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.2345, allocations: 109.5 kB / 0.6752 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2348, allocations: 0.6768 MB / 0.6759 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.2348, allocations: 0 / 0.6759 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.2349, allocations: 11.44 kB / 0.6759 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.2349, allocations: 0 / 0.6759 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.002973/0.2379, allocations: 0.5674 MB / 0.6764 GB, free: 14.23 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)