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.2008/0.2032, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001997/0.2053, allocations: 0.59 MB / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2073, allocations: 1.413 MB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.2073, allocations: 4 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.2074, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.2075, allocations: 11.92 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.2081, allocations: 167.6 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2083, allocations: 59.88 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.2083, allocations: 0 / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.2083, allocations: 23.98 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.2084, allocations: 23.91 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2084, allocations: 4 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.2088, allocations: 203.7 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.2088, allocations: 11.88 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2089, allocations: 27.86 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.2091, allocations: 183.5 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2092, allocations: 0 / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2092, allocations: 0 / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.2092, allocations: 0 / 0.6733 GB, free: 15.27 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.0004962/0.2097, allocations: 450.6 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2097, allocations: 8.031 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.2098, allocations: 8.844 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2099, allocations: 172.3 kB / 0.6739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2099, allocations: 4.375 kB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.21, allocations: 3.938 kB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2101, allocations: 93.64 kB / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2102, allocations: 0 / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2102, allocations: 4 kB / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2102, allocations: 0 / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.2103, allocations: 71.89 kB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.2105, allocations: 177.6 kB / 0.6742 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2106, allocations: 78.47 kB / 0.6743 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.2107, allocations: 76.83 kB / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.2107, allocations: 0 / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2108, allocations: 30.56 kB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2108, allocations: 0 / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004319/0.2112, allocations: 267.2 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.2113, allocations: 77.11 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2114, allocations: 146.5 kB / 0.6749 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2114, allocations: 29.7 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2115, allocations: 84.14 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.2115, allocations: 19.83 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.2116, allocations: 25.72 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2117, allocations: 322.9 kB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2118, allocations: 99.94 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.212, allocations: 103.9 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.2123, allocations: 285.7 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2123, allocations: 3.938 kB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003389/0.2126, allocations: 320.8 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.2127, allocations: 71.39 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2127, allocations: 4 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2127, allocations: 0 / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.2128, allocations: 0 / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2128, allocations: 4.062 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2129, allocations: 7.906 kB / 0.6762 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2129, allocations: 7.938 kB / 0.6762 GB, free: 11.98 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.0001204/0.2131, allocations: 159.4 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.2131, allocations: 7.906 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.2131, allocations: 8.25 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2131, allocations: 4 kB / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2131, allocations: 0 / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2131, allocations: 0 / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2133, allocations: 177.6 kB / 0.6765 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2133, allocations: 0 / 0.6765 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.2133, allocations: 0 / 0.6765 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2133, allocations: 4 kB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2133, allocations: 4 kB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2133, allocations: 3.938 kB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2133, allocations: 3.938 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.2136, allocations: 230.6 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.2137, allocations: 92.98 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2137, allocations: 0 / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.2137, allocations: 7.984 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.2138, allocations: 4 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.2138, allocations: 4 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001156/0.2139, allocations: 108.5 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.214, allocations: 0 / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002729/0.2142, allocations: 63.98 kB / 0.6771 GB, free: 11 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.0002607/0.2145, allocations: 151.2 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.2149, allocations: 378.6 kB / 0.6776 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2149, allocations: 0 / 0.6776 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.2151, allocations: 135.3 kB / 0.6777 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.2152, allocations: 9.969 kB / 0.6777 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.2157, allocations: 213.5 kB / 0.6779 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.216, allocations: 0.6885 MB / 0.6786 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.412e-06/0.216, allocations: 128 / 0.6786 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-06/0.216, allocations: 11.44 kB / 0.6786 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.216, allocations: 0 / 0.6786 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of Templates: time 0.00489/0.2209, allocations: 2.088 MB / 0.6806 GB, free: 7.254 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)