Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [/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.191/0.1931, allocations: 80.84 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001862/0.195, allocations: 0.6462 MB / 0.5905 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1975, allocations: 1.464 MB / 0.5919 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1975, allocations: 4 kB / 0.5919 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.627e-05/0.1976, allocations: 0 / 0.5919 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.1977, allocations: 3.984 kB / 0.5919 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1986, allocations: 202.3 kB / 0.5921 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.1987, allocations: 31.98 kB / 0.5922 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.1987, allocations: 7.984 kB / 0.5922 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.1988, allocations: 12 kB / 0.5922 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1989, allocations: 27.89 kB / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1989, allocations: 4 kB / 0.5922 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1994, allocations: 243.7 kB / 0.5925 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1995, allocations: 7.922 kB / 0.5925 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.1996, allocations: 19.92 kB / 0.5925 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1999, allocations: 215.5 kB / 0.5927 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1999, allocations: 0 / 0.5927 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1999, allocations: 0 / 0.5927 GB, free: 4.102 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1999, allocations: 0 / 0.5927 GB, free: 4.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004421/0.2004, allocations: 411.8 kB / 0.5931 GB, free: 3.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2004, allocations: 8.031 kB / 0.5931 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.2005, allocations: 4.938 kB / 0.5931 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2006, allocations: 176.2 kB / 0.5933 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2006, allocations: 384 / 0.5933 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2006, allocations: 8.125 kB / 0.5933 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2008, allocations: 73.59 kB / 0.5933 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2008, allocations: 0 / 0.5933 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2008, allocations: 0 / 0.5933 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2008, allocations: 0 / 0.5933 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.2009, allocations: 43.97 kB / 0.5934 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.201, allocations: 157.7 kB / 0.5935 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.2011, allocations: 66.55 kB / 0.5936 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.2012, allocations: 56.78 kB / 0.5936 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.2012, allocations: 7.875 kB / 0.5937 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2013, allocations: 34.56 kB / 0.5937 GB, free: 2.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2013, allocations: 4 kB / 0.5937 GB, free: 2.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003543/0.2016, allocations: 187.2 kB / 0.5939 GB, free: 2.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2017, allocations: 85.05 kB / 0.5939 GB, free: 2.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2018, allocations: 113.8 kB / 0.5941 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2019, allocations: 25.7 kB / 0.5941 GB, free: 2.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2019, allocations: 88.14 kB / 0.5942 GB, free: 2.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.202, allocations: 19.66 kB / 0.5942 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.202, allocations: 21.7 kB / 0.5942 GB, free: 2.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.2022, allocations: 322.9 kB / 0.5945 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.2023, allocations: 35.97 kB / 0.5945 GB, free: 1.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.2023, allocations: 35.91 kB / 0.5946 GB, free: 1.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2025, allocations: 140.2 kB / 0.5947 GB, free: 1.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2025, allocations: 0 / 0.5947 GB, free: 1.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001833/0.2027, allocations: 163.3 kB / 0.5949 GB, free: 1.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.2027, allocations: 33.7 kB / 0.5949 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2027, allocations: 0 / 0.5949 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2028, allocations: 3.984 kB / 0.5949 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2028, allocations: 0 / 0.5949 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2028, allocations: 4.062 kB / 0.5949 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2029, allocations: 4 kB / 0.5949 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.203, allocations: 16 kB / 0.5949 GB, free: 1.535 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001031/0.2031, allocations: 144.4 kB / 0.5951 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.2031, allocations: 19.77 kB / 0.5951 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.2031, allocations: 12.36 kB / 0.5951 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2031, allocations: 0 / 0.5951 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2031, allocations: 0 / 0.5951 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2031, allocations: 0 / 0.5951 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2033, allocations: 177.5 kB / 0.5953 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2033, allocations: 0 / 0.5953 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-06/0.2033, allocations: 3.984 kB / 0.5953 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2033, allocations: 0 / 0.5953 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2033, allocations: 4 kB / 0.5953 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2033, allocations: 0 / 0.5953 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2033, allocations: 0 / 0.5953 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2035, allocations: 194.7 kB / 0.5955 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2036, allocations: 85.05 kB / 0.5955 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2036, allocations: 4 kB / 0.5955 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.2037, allocations: 11.98 kB / 0.5956 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.2037, allocations: 3.938 kB / 0.5956 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2037, allocations: 8 kB / 0.5956 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.033e-05/0.2037, allocations: 99.81 kB / 0.5957 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2038, allocations: 3.938 kB / 0.5957 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.2041, allocations: 67.98 kB / 0.5957 GB, free: 0.6055 MB / 446.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002896/0.2044, allocations: 166.7 kB / 0.5959 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.2046, allocations: 199.3 kB / 0.5961 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2047, allocations: 0 / 0.5961 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2048, allocations: 147.4 kB / 0.5962 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.205, allocations: 15.92 kB / 0.5962 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.2053, allocations: 165.2 kB / 0.5964 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.2058, allocations: 0.6925 MB / 0.5971 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.328e-06/0.2058, allocations: 0 / 0.5971 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.2058, allocations: 7.438 kB / 0.5971 GB, free: 15.14 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2058, allocations: 0 / 0.5971 GB, free: 15.14 MB / 462.1 MB Notification: Performance of Templates: time 0.004865/0.2107, allocations: 2.031 MB / 0.5991 GB, free: 13.13 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)