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.2149/0.2157, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008851/0.2166, allocations: 302.8 kB / 0.5937 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2191, allocations: 1.422 MB / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.2192, allocations: 0 / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.348e-05/0.2192, allocations: 0 / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.2193, allocations: 0 / 0.5951 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.2202, allocations: 151.7 kB / 0.5952 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.2203, allocations: 19.97 kB / 0.5952 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.2203, allocations: 3.938 kB / 0.5952 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.2204, allocations: 23.91 kB / 0.5952 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.2205, allocations: 23.92 kB / 0.5953 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2205, allocations: 0 / 0.5953 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.2209, allocations: 207.8 kB / 0.5955 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.221, allocations: 15.92 kB / 0.5955 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.221, allocations: 25.7 kB / 0.5955 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2213, allocations: 147.8 kB / 0.5956 GB, free: 3.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2213, allocations: 0 / 0.5956 GB, free: 3.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2214, allocations: 0 / 0.5956 GB, free: 3.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2214, allocations: 0 / 0.5956 GB, free: 3.633 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.0005836/0.222, allocations: 396.1 kB / 0.596 GB, free: 3.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.222, allocations: 8.031 kB / 0.596 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.2221, allocations: 11.89 kB / 0.596 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2223, allocations: 167 kB / 0.5962 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2223, allocations: 4 kB / 0.5962 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2223, allocations: 7.891 kB / 0.5962 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2225, allocations: 69.66 kB / 0.5963 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2225, allocations: 4 kB / 0.5963 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2225, allocations: 0 / 0.5963 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2225, allocations: 4 kB / 0.5963 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.2226, allocations: 35.97 kB / 0.5963 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.2228, allocations: 165.6 kB / 0.5965 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.2229, allocations: 62.5 kB / 0.5965 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.2229, allocations: 0 / 0.5965 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2229, allocations: 42.53 kB / 0.5966 GB, free: 2.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.2229, allocations: 0 / 0.5966 GB, free: 2.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.2233, allocations: 264.6 kB / 0.5968 GB, free: 2.223 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.2234, allocations: 85.11 kB / 0.5969 GB, free: 2.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.2235, allocations: 118 kB / 0.597 GB, free: 1.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2236, allocations: 25.7 kB / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2236, allocations: 92.12 kB / 0.5971 GB, free: 1.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.2236, allocations: 19.66 kB / 0.5972 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2237, allocations: 0 / 0.5972 GB, free: 1.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2238, allocations: 318.8 kB / 0.5975 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.2239, allocations: 40.02 kB / 0.5975 GB, free: 1.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.224, allocations: 35.97 kB / 0.5975 GB, free: 1.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.2241, allocations: 65.67 kB / 0.5976 GB, free: 1.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2241, allocations: 0 / 0.5976 GB, free: 1.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002531/0.2243, allocations: 147.2 kB / 0.5977 GB, free: 1.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.2244, allocations: 45.64 kB / 0.5978 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2244, allocations: 0 / 0.5978 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2244, allocations: 0 / 0.5978 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.2244, allocations: 0 / 0.5978 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2244, allocations: 3.938 kB / 0.5978 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2246, allocations: 12.05 kB / 0.5978 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2246, allocations: 8 kB / 0.5978 GB, free: 1.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.2248, allocations: 151.5 kB / 0.5979 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.2248, allocations: 11.91 kB / 0.598 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.2248, allocations: 12.33 kB / 0.598 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2248, allocations: 3.984 kB / 0.598 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2249, allocations: 4 kB / 0.598 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2249, allocations: 0 / 0.598 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2251, allocations: 161.7 kB / 0.5981 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2251, allocations: 0 / 0.5981 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.2251, allocations: 4 kB / 0.5981 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2251, allocations: 0 / 0.5981 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2251, allocations: 4 kB / 0.5981 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2251, allocations: 7.891 kB / 0.5981 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2251, allocations: 3.984 kB / 0.5982 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2254, allocations: 202.6 kB / 0.5983 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.2255, allocations: 85.05 kB / 0.5984 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2255, allocations: 0 / 0.5984 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.2256, allocations: 12.03 kB / 0.5984 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2256, allocations: 7.938 kB / 0.5984 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2256, allocations: 11.94 kB / 0.5985 GB, free: 388 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.2257, allocations: 91.27 kB / 0.5985 GB, free: 296 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2257, allocations: 0 / 0.5985 GB, free: 296 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.2261, allocations: 68 kB / 0.5986 GB, free: 228 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003551/0.2264, allocations: 159.2 kB / 0.5988 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.2267, allocations: 211.3 kB / 0.599 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2267, allocations: 0 / 0.599 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2269, allocations: 151.4 kB / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.227, allocations: 0 / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.2274, allocations: 186.6 kB / 0.5993 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2278, allocations: 0.6887 MB / 0.6 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.083e-06/0.2278, allocations: 4.125 kB / 0.6 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.2278, allocations: 7.438 kB / 0.6 GB, free: 14.75 MB / 462.1 MB Notification: Performance of SimCode: time 3.016e-06/0.2278, allocations: 0 / 0.6 GB, free: 14.75 MB / 462.1 MB Notification: Performance of Templates: time 0.00569/0.2335, allocations: 1.884 MB / 0.6018 GB, free: 12.88 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: