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.1902/0.1909, allocations: 82.22 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008708/0.1919, allocations: 316.8 kB / 0.5944 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1941, allocations: 1.433 MB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1941, allocations: 0 / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.684e-05/0.1942, allocations: 7.938 kB / 0.5958 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.1943, allocations: 7.984 kB / 0.5958 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.195, allocations: 130.7 kB / 0.596 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.822e-05/0.1951, allocations: 39.84 kB / 0.596 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.1951, allocations: 7.938 kB / 0.596 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.1952, allocations: 19.98 kB / 0.596 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.1953, allocations: 31.91 kB / 0.5961 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1953, allocations: 0 / 0.5961 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1956, allocations: 195.7 kB / 0.5962 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.1957, allocations: 15.92 kB / 0.5963 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.1958, allocations: 49.56 kB / 0.5963 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1961, allocations: 175.6 kB / 0.5965 GB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1961, allocations: 4 kB / 0.5965 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1961, allocations: 0 / 0.5965 GB, free: 3.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1961, allocations: 3.938 kB / 0.5965 GB, free: 3.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006903/0.1968, allocations: 430.8 kB / 0.5969 GB, free: 2.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1969, allocations: 8.031 kB / 0.5969 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1969, allocations: 12.83 kB / 0.5969 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1971, allocations: 176.2 kB / 0.5971 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1972, allocations: 4.312 kB / 0.5971 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1972, allocations: 8.125 kB / 0.5971 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1975, allocations: 93.64 kB / 0.5972 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1975, allocations: 0 / 0.5972 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1975, allocations: 0 / 0.5972 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1975, allocations: 4 kB / 0.5972 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1976, allocations: 67.95 kB / 0.5972 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1978, allocations: 173.6 kB / 0.5974 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.198, allocations: 86.47 kB / 0.5975 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/0.1981, allocations: 68.83 kB / 0.5976 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.1981, allocations: 0 / 0.5976 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1981, allocations: 38.56 kB / 0.5976 GB, free: 1.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1981, allocations: 7.938 kB / 0.5976 GB, free: 1.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003956/0.1985, allocations: 251.2 kB / 0.5978 GB, free: 1.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1986, allocations: 81.09 kB / 0.5979 GB, free: 1.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1987, allocations: 147.8 kB / 0.5981 GB, free: 1.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1987, allocations: 25.7 kB / 0.5981 GB, free: 1.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.1988, allocations: 88.14 kB / 0.5982 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1988, allocations: 11.81 kB / 0.5982 GB, free: 1.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1989, allocations: 25.64 kB / 0.5982 GB, free: 1.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.199, allocations: 322.9 kB / 0.5985 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1991, allocations: 103.9 kB / 0.5986 GB, free: 0.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1993, allocations: 99.94 kB / 0.5987 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.1995, allocations: 277.7 kB / 0.599 GB, free: 324 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1996, allocations: 0 / 0.599 GB, free: 324 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003464/0.1999, allocations: 324.9 kB / 0.5993 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.2, allocations: 67.34 kB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2, allocations: 0 / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2, allocations: 3.984 kB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.2, allocations: 144 / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2, allocations: 4.062 kB / 0.5994 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2002, allocations: 19.78 kB / 0.5994 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2002, allocations: 4 kB / 0.5994 GB, free: 15.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.2003, allocations: 152.3 kB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.2004, allocations: 11.89 kB / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.2004, allocations: 12.23 kB / 0.5995 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2004, allocations: 0 / 0.5995 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2004, allocations: 3.938 kB / 0.5996 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2004, allocations: 4 kB / 0.5996 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2005, allocations: 177.6 kB / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2005, allocations: 0 / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2005, allocations: 0 / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.2005, allocations: 0 / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2006, allocations: 4 kB / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2006, allocations: 4 kB / 0.5997 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2006, allocations: 0 / 0.5997 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.2008, allocations: 230.6 kB / 0.6 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.2009, allocations: 85.05 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2009, allocations: 11.94 kB / 0.6 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.201, allocations: 4 kB / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.2011, allocations: 11.92 kB / 0.6001 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.2011, allocations: 0 / 0.6001 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.2012, allocations: 113 kB / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2012, allocations: 0 / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.2015, allocations: 64 kB / 0.6002 GB, free: 14.89 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 (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.0003116/0.2018, allocations: 155.2 kB / 0.6004 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.2023, allocations: 366.7 kB / 0.6007 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2023, allocations: 0 / 0.6007 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.2024, allocations: 139.3 kB / 0.6009 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.2026, allocations: 7.938 kB / 0.6009 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.203, allocations: 219.5 kB / 0.6011 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.2033, allocations: 0.6965 MB / 0.6018 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.2033, allocations: 0 / 0.6018 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-06/0.2034, allocations: 7.438 kB / 0.6018 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2034, allocations: 0 / 0.6018 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Templates: time 0.004623/0.208, allocations: 1.911 MB / 0.6036 GB, free: 11.32 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: