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.2057/0.2076, allocations: 80.82 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002027/0.2097, allocations: 0.653 MB / 0.5903 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.2118, allocations: 1.5 MB / 0.5918 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.2119, allocations: 0 / 0.5918 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.44e-05/0.212, allocations: 0 / 0.5918 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.212, allocations: 11.92 kB / 0.5918 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.2127, allocations: 155.8 kB / 0.5919 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.2127, allocations: 27.97 kB / 0.592 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.2128, allocations: 3.938 kB / 0.592 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.2128, allocations: 19.92 kB / 0.592 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.2129, allocations: 27.91 kB / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2129, allocations: 0 / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.2133, allocations: 235.6 kB / 0.5922 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.2133, allocations: 7.984 kB / 0.5923 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.2134, allocations: 19.86 kB / 0.5923 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2137, allocations: 215.5 kB / 0.5925 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2137, allocations: 3.938 kB / 0.5925 GB, free: 4.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2137, allocations: 0 / 0.5925 GB, free: 4.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2137, allocations: 0 / 0.5925 GB, free: 4.23 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.0004464/0.2142, allocations: 412.5 kB / 0.5929 GB, free: 3.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2142, allocations: 8.031 kB / 0.5929 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2142, allocations: 4.938 kB / 0.5929 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2144, allocations: 172.2 kB / 0.5931 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2144, allocations: 8.359 kB / 0.5931 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.2144, allocations: 8.125 kB / 0.5931 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2146, allocations: 73.66 kB / 0.5931 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2146, allocations: 3.938 kB / 0.5931 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2146, allocations: 0 / 0.5931 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2146, allocations: 0 / 0.5931 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.2147, allocations: 39.91 kB / 0.5932 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.2148, allocations: 161.7 kB / 0.5933 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.2149, allocations: 62.55 kB / 0.5934 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.215, allocations: 56.8 kB / 0.5934 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.215, allocations: 4 kB / 0.5935 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2151, allocations: 30.56 kB / 0.5935 GB, free: 3.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2151, allocations: 0 / 0.5935 GB, free: 3.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003081/0.2154, allocations: 191.2 kB / 0.5937 GB, free: 2.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2154, allocations: 81.11 kB / 0.5937 GB, free: 2.746 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/0.2155, allocations: 113.8 kB / 0.5939 GB, free: 2.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2156, allocations: 29.73 kB / 0.5939 GB, free: 2.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.2156, allocations: 88.14 kB / 0.594 GB, free: 2.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.2157, allocations: 19.66 kB / 0.594 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.2157, allocations: 25.7 kB / 0.594 GB, free: 2.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2158, allocations: 314.8 kB / 0.5943 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.2159, allocations: 35.97 kB / 0.5943 GB, free: 2.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.2159, allocations: 35.97 kB / 0.5944 GB, free: 2.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.2161, allocations: 136.8 kB / 0.5945 GB, free: 1.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2161, allocations: 3.984 kB / 0.5945 GB, free: 1.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001805/0.2163, allocations: 171.3 kB / 0.5947 GB, free: 1.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.2163, allocations: 37.69 kB / 0.5947 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2163, allocations: 0 / 0.5947 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2163, allocations: 0 / 0.5947 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2164, allocations: 0 / 0.5947 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2164, allocations: 4 kB / 0.5947 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2165, allocations: 4 kB / 0.5947 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.2165, allocations: 4 kB / 0.5947 GB, free: 1.676 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.0001189/0.2166, allocations: 156.4 kB / 0.5949 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.2167, allocations: 15.88 kB / 0.5949 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.2167, allocations: 8.312 kB / 0.5949 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2167, allocations: 0 / 0.5949 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2167, allocations: 0 / 0.5949 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2167, allocations: 0 / 0.5949 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2168, allocations: 177.5 kB / 0.5951 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2168, allocations: 4 kB / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.2168, allocations: 0 / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2168, allocations: 0 / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2169, allocations: 4 kB / 0.5951 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2169, allocations: 4 kB / 0.5951 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2169, allocations: 0 / 0.5951 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.2171, allocations: 198.6 kB / 0.5953 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.2171, allocations: 84.95 kB / 0.5953 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2172, allocations: 4 kB / 0.5953 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.2172, allocations: 11.98 kB / 0.5954 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.2172, allocations: 4 kB / 0.5954 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2172, allocations: 4 kB / 0.5954 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.2173, allocations: 95.3 kB / 0.5955 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2173, allocations: 0 / 0.5955 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.2176, allocations: 75.98 kB / 0.5955 GB, free: 0.7383 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.0002929/0.2179, allocations: 151.2 kB / 0.5957 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.2181, allocations: 203.2 kB / 0.5959 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2182, allocations: 0 / 0.5959 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2183, allocations: 151.3 kB / 0.596 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.2185, allocations: 16.06 kB / 0.596 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.2188, allocations: 170.7 kB / 0.5962 GB, free: 0 / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2191, allocations: 0.6848 MB / 0.5969 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.151e-06/0.2191, allocations: 4 kB / 0.5969 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-06/0.2191, allocations: 7.438 kB / 0.5969 GB, free: 15.28 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2191, allocations: 0 / 0.5969 GB, free: 15.28 MB / 462.1 MB Notification: Performance of Templates: time 0.00422/0.2233, allocations: 1.991 MB / 0.5988 GB, free: 13.31 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)