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.2111/0.2118, allocations: 82.2 MB / 0.5934 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008815/0.2127, allocations: 314.8 kB / 0.5937 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.2146, allocations: 1.365 MB / 0.595 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.2146, allocations: 0 / 0.595 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.2147, allocations: 7.938 kB / 0.595 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.2148, allocations: 7.938 kB / 0.595 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2153, allocations: 127.3 kB / 0.5951 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.2154, allocations: 27.95 kB / 0.5952 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.2155, allocations: 3.938 kB / 0.5952 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.2155, allocations: 19.92 kB / 0.5952 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.2156, allocations: 31.97 kB / 0.5952 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2156, allocations: 4 kB / 0.5952 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2159, allocations: 171.7 kB / 0.5954 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.2159, allocations: 8 kB / 0.5954 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.216, allocations: 33.64 kB / 0.5954 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2162, allocations: 123.8 kB / 0.5955 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2162, allocations: 0 / 0.5955 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2162, allocations: 0 / 0.5955 GB, free: 13.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2162, allocations: 0 / 0.5955 GB, free: 13.23 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.0004969/0.2167, allocations: 430.6 kB / 0.5959 GB, free: 12.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2167, allocations: 12.03 kB / 0.596 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2168, allocations: 7.906 kB / 0.596 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.217, allocations: 167 kB / 0.5961 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.217, allocations: 4 kB / 0.5961 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.217, allocations: 3.953 kB / 0.5961 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.2172, allocations: 105.6 kB / 0.5962 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.2172, allocations: 0 / 0.5962 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2173, allocations: 4 kB / 0.5962 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2173, allocations: 0 / 0.5962 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.2174, allocations: 59.95 kB / 0.5963 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.2175, allocations: 181.5 kB / 0.5965 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2177, allocations: 74.53 kB / 0.5965 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.2177, allocations: 3.938 kB / 0.5965 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2177, allocations: 42.55 kB / 0.5966 GB, free: 11.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2177, allocations: 7.969 kB / 0.5966 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.000424/0.2181, allocations: 324.3 kB / 0.5969 GB, free: 11.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2182, allocations: 89.14 kB / 0.597 GB, free: 11.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2183, allocations: 145.6 kB / 0.5971 GB, free: 11.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2184, allocations: 25.7 kB / 0.5971 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2185, allocations: 100 kB / 0.5972 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2185, allocations: 3.906 kB / 0.5972 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.2185, allocations: 4 kB / 0.5973 GB, free: 11.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2187, allocations: 314.8 kB / 0.5976 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2188, allocations: 103.9 kB / 0.5976 GB, free: 10.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2189, allocations: 103.9 kB / 0.5977 GB, free: 10.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2191, allocations: 167.4 kB / 0.5979 GB, free: 10.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2191, allocations: 0 / 0.5979 GB, free: 10.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003148/0.2194, allocations: 324.8 kB / 0.5982 GB, free: 10.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/0.2195, allocations: 75.34 kB / 0.5983 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2195, allocations: 0 / 0.5983 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2196, allocations: 3.984 kB / 0.5983 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.2196, allocations: 4 kB / 0.5983 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2196, allocations: 0 / 0.5983 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.2197, allocations: 15.83 kB / 0.5983 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.2198, allocations: 4.031 kB / 0.5983 GB, free: 10.09 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.0001077/0.2199, allocations: 155.5 kB / 0.5985 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.2199, allocations: 7.906 kB / 0.5985 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.2199, allocations: 8.203 kB / 0.5985 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2199, allocations: 4 kB / 0.5985 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2199, allocations: 0 / 0.5985 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2199, allocations: 3.938 kB / 0.5985 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2201, allocations: 173.6 kB / 0.5987 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2201, allocations: 0 / 0.5987 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.2201, allocations: 0 / 0.5987 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2201, allocations: 4 kB / 0.5987 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2201, allocations: 0 / 0.5987 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2201, allocations: 11.94 kB / 0.5987 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2201, allocations: 3.938 kB / 0.5987 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.2204, allocations: 218.7 kB / 0.5989 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.2204, allocations: 85.09 kB / 0.599 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2205, allocations: 0 / 0.599 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.2205, allocations: 8.031 kB / 0.599 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.2206, allocations: 15.94 kB / 0.599 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.2206, allocations: 4 kB / 0.599 GB, free: 9.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.2207, allocations: 107.2 kB / 0.5991 GB, free: 9.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2207, allocations: 0 / 0.5991 GB, free: 9.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.221, allocations: 64 kB / 0.5992 GB, free: 9.117 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.0002908/0.2212, allocations: 151.2 kB / 0.5993 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.2217, allocations: 374.6 kB / 0.5997 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2217, allocations: 4 kB / 0.5997 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2218, allocations: 131.3 kB / 0.5998 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.2219, allocations: 4 kB / 0.5998 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.2223, allocations: 219.2 kB / 0.6 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.2227, allocations: 0.7006 MB / 0.6007 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.241e-06/0.2227, allocations: 0 / 0.6007 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.2227, allocations: 7.438 kB / 0.6007 GB, free: 7.445 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2227, allocations: 0 / 0.6007 GB, free: 7.445 MB / 462.1 MB Notification: Performance of Templates: time 0.004935/0.2276, allocations: 1.874 MB / 0.6025 GB, free: 5.59 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: