Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [/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.194/0.1948, allocations: 82.21 MB / 0.5935 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0009103/0.1958, allocations: 308.8 kB / 0.5938 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.198, allocations: 1.376 MB / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.1981, allocations: 0 / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.651e-05/0.1981, allocations: 0 / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.1982, allocations: 0 / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.1988, allocations: 150.9 kB / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.1989, allocations: 35.91 kB / 0.5953 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1989, allocations: 3.938 kB / 0.5953 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.199, allocations: 23.97 kB / 0.5953 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.1991, allocations: 23.91 kB / 0.5953 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1991, allocations: 4 kB / 0.5953 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1994, allocations: 179.7 kB / 0.5955 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1994, allocations: 11.94 kB / 0.5955 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1995, allocations: 33.69 kB / 0.5956 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1997, allocations: 119.8 kB / 0.5957 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1997, allocations: 0 / 0.5957 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1997, allocations: 4 kB / 0.5957 GB, free: 13.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1997, allocations: 0 / 0.5957 GB, free: 13.15 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004764/0.2002, allocations: 434.6 kB / 0.5961 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2003, allocations: 8.031 kB / 0.5961 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.2003, allocations: 7.906 kB / 0.5961 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2005, allocations: 178.9 kB / 0.5963 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2005, allocations: 0 / 0.5963 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2005, allocations: 7.953 kB / 0.5963 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2007, allocations: 93.64 kB / 0.5964 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2007, allocations: 7.938 kB / 0.5964 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2007, allocations: 0 / 0.5964 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2007, allocations: 0 / 0.5964 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.2008, allocations: 59.95 kB / 0.5964 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.201, allocations: 177.5 kB / 0.5966 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2011, allocations: 90.45 kB / 0.5967 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.2012, allocations: 68.89 kB / 0.5968 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.2012, allocations: 7.953 kB / 0.5968 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2013, allocations: 38.5 kB / 0.5968 GB, free: 11.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2013, allocations: 0 / 0.5968 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003932/0.2017, allocations: 251.2 kB / 0.597 GB, free: 11.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.2017, allocations: 85.05 kB / 0.5971 GB, free: 11.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2019, allocations: 141.6 kB / 0.5973 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2019, allocations: 29.7 kB / 0.5973 GB, free: 11.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.2019, allocations: 96.03 kB / 0.5974 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.202, allocations: 7.938 kB / 0.5974 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.202, allocations: 0 / 0.5974 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2021, allocations: 322.8 kB / 0.5977 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2022, allocations: 99.94 kB / 0.5978 GB, free: 10.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.2024, allocations: 99.94 kB / 0.5979 GB, free: 10.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2025, allocations: 167.3 kB / 0.598 GB, free: 10.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2025, allocations: 0 / 0.598 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003494/0.2029, allocations: 316.8 kB / 0.5983 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.203, allocations: 75.34 kB / 0.5984 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.203, allocations: 0 / 0.5984 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.203, allocations: 4.062 kB / 0.5984 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.203, allocations: 0 / 0.5984 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.203, allocations: 0 / 0.5984 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2032, allocations: 23.77 kB / 0.5984 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.2032, allocations: 4.141 kB / 0.5984 GB, free: 10.04 MB / 462.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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001157/0.2033, allocations: 152.4 kB / 0.5986 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.2034, allocations: 11.89 kB / 0.5986 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.2034, allocations: 8.203 kB / 0.5986 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2034, allocations: 4 kB / 0.5986 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2034, allocations: 0 / 0.5986 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2034, allocations: 0 / 0.5986 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2035, allocations: 177.6 kB / 0.5988 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2035, allocations: 0 / 0.5988 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2035, allocations: 0 / 0.5988 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2036, allocations: 4 kB / 0.5988 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2036, allocations: 3.984 kB / 0.5988 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2036, allocations: 3.953 kB / 0.5988 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2036, allocations: 3.938 kB / 0.5988 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2039, allocations: 226.7 kB / 0.599 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2039, allocations: 81.09 kB / 0.5991 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2039, allocations: 8 kB / 0.5991 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.204, allocations: 4 kB / 0.5991 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2041, allocations: 19.88 kB / 0.5991 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2041, allocations: 4 kB / 0.5991 GB, free: 9.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.2042, allocations: 107.2 kB / 0.5992 GB, free: 9.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2042, allocations: 0 / 0.5992 GB, free: 9.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.2045, allocations: 68.03 kB / 0.5993 GB, free: 9.055 MB / 462.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: 1 (i) * Number of discrete states: 1 (i) * 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.0002873/0.2048, allocations: 147.2 kB / 0.5994 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.2053, allocations: 370.7 kB / 0.5998 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2053, allocations: 0 / 0.5998 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2055, allocations: 135.3 kB / 0.5999 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.2056, allocations: 8 kB / 0.5999 GB, free: 8.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.206, allocations: 215.4 kB / 0.6001 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.2064, allocations: 0.6965 MB / 0.6008 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.935e-06/0.2064, allocations: 0 / 0.6008 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.2064, allocations: 11.44 kB / 0.6008 GB, free: 7.391 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2064, allocations: 0 / 0.6008 GB, free: 7.391 MB / 462.1 MB Notification: Performance of Templates: time 0.005041/0.2115, allocations: 1.865 MB / 0.6026 GB, free: 5.539 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: