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.2175/0.2196, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002218/0.2218, allocations: 0.5774 MB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2241, allocations: 1.421 MB / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.2242, allocations: 0 / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.494e-05/0.2243, allocations: 3.938 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.2243, allocations: 8.031 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.2252, allocations: 175.5 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.2254, allocations: 59.83 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.2254, allocations: 0 / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.2255, allocations: 19.97 kB / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.2256, allocations: 27.91 kB / 0.6729 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2256, allocations: 0 / 0.6729 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.226, allocations: 199.7 kB / 0.6731 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.2261, allocations: 15.92 kB / 0.6731 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.2262, allocations: 27.86 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.2265, allocations: 187.6 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2265, allocations: 0 / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2265, allocations: 0 / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2266, allocations: 0 / 0.6733 GB, free: 15.3 MB / 0.5137 GB 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.0006744/0.2272, allocations: 442.7 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.2273, allocations: 8.031 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.2273, allocations: 8.844 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2275, allocations: 172.2 kB / 0.6739 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2276, allocations: 4.375 kB / 0.6739 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2276, allocations: 7.875 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.2278, allocations: 97.64 kB / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2278, allocations: 0 / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.2278, allocations: 7.984 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2278, allocations: 4 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.2279, allocations: 59.95 kB / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.2282, allocations: 169.6 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2283, allocations: 86.41 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.2284, allocations: 76.83 kB / 0.6744 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2284, allocations: 0 / 0.6744 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.2284, allocations: 38.55 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2285, allocations: 0 / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004446/0.2289, allocations: 251.2 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.229, allocations: 77.11 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2291, allocations: 151.5 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2291, allocations: 25.7 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.2292, allocations: 96.16 kB / 0.675 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.2293, allocations: 19.83 kB / 0.675 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.2293, allocations: 25.72 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2295, allocations: 314.8 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2296, allocations: 99.94 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2298, allocations: 107.9 kB / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.23, allocations: 277.8 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2301, allocations: 7.938 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004018/0.2305, allocations: 328.8 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.2305, allocations: 71.39 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2306, allocations: 0 / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2306, allocations: 0 / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.2306, allocations: 7.938 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2306, allocations: 0 / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2308, allocations: 11.89 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2308, allocations: 4 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB 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.0001214/0.2309, allocations: 155.5 kB / 0.6764 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.231, allocations: 11.94 kB / 0.6764 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.231, allocations: 8.25 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.231, allocations: 0 / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.231, allocations: 0 / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.231, allocations: 4 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2311, allocations: 169.6 kB / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2312, allocations: 0 / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.2312, allocations: 4 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2312, allocations: 144 / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.2312, allocations: 3.938 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2312, allocations: 0 / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2312, allocations: 7.938 kB / 0.6766 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.2315, allocations: 242.5 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.2315, allocations: 88.95 kB / 0.6769 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2316, allocations: 3.984 kB / 0.6769 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.2316, allocations: 4 kB / 0.6769 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.2317, allocations: 7.984 kB / 0.6769 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2317, allocations: 4 kB / 0.6769 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.2318, allocations: 109.5 kB / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2318, allocations: 0 / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003197/0.2321, allocations: 67.98 kB / 0.6771 GB, free: 11.02 MB / 0.5137 GB 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.0002986/0.2324, allocations: 143.2 kB / 0.6772 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.2329, allocations: 370.6 kB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2329, allocations: 4 kB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2331, allocations: 135.3 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.2332, allocations: 12.06 kB / 0.6777 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.2337, allocations: 213.5 kB / 0.6779 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.234, allocations: 0.6924 MB / 0.6786 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.962e-06/0.234, allocations: 0 / 0.6786 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.234, allocations: 11.42 kB / 0.6786 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.234, allocations: 0 / 0.6786 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.005573/0.2396, allocations: 2.039 MB / 0.6806 GB, free: 7.32 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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)