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.2588/0.2607, allocations: 80.83 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002469/0.2632, allocations: 0.654 MB / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.2658, allocations: 1.41 MB / 0.5919 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.2659, allocations: 0 / 0.5919 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/0.2659, allocations: 0 / 0.5919 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.266, allocations: 4 kB / 0.5919 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.267, allocations: 167.6 kB / 0.5921 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2671, allocations: 59.88 kB / 0.5921 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.2672, allocations: 0 / 0.5921 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.2673, allocations: 15.98 kB / 0.5921 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2674, allocations: 27.91 kB / 0.5922 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2674, allocations: 4 kB / 0.5922 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.2679, allocations: 199.7 kB / 0.5924 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.2679, allocations: 15.92 kB / 0.5924 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.268, allocations: 23.88 kB / 0.5924 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.2684, allocations: 191.5 kB / 0.5926 GB, free: 4.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2684, allocations: 0 / 0.5926 GB, free: 4.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2684, allocations: 0 / 0.5926 GB, free: 4.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2684, allocations: 0 / 0.5926 GB, free: 4.203 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.00062/0.2691, allocations: 442.1 kB / 0.593 GB, free: 3.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2691, allocations: 8.031 kB / 0.593 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.2692, allocations: 8.844 kB / 0.593 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2694, allocations: 172.3 kB / 0.5932 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2694, allocations: 384 / 0.5932 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2695, allocations: 12.12 kB / 0.5932 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2697, allocations: 93.64 kB / 0.5933 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2697, allocations: 0 / 0.5933 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2698, allocations: 0 / 0.5933 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2698, allocations: 0 / 0.5933 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.2699, allocations: 63.89 kB / 0.5933 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.2702, allocations: 181.5 kB / 0.5935 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.2704, allocations: 86.53 kB / 0.5936 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2706, allocations: 72.83 kB / 0.5937 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.2706, allocations: 0 / 0.5937 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2707, allocations: 30.56 kB / 0.5937 GB, free: 2.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.2707, allocations: 11.92 kB / 0.5937 GB, free: 2.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006244/0.2713, allocations: 247.2 kB / 0.5939 GB, free: 2.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.2714, allocations: 93.03 kB / 0.594 GB, free: 2.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2716, allocations: 143.1 kB / 0.5942 GB, free: 2.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.2716, allocations: 29.72 kB / 0.5942 GB, free: 2.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.2717, allocations: 96.12 kB / 0.5943 GB, free: 2.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.2718, allocations: 11.81 kB / 0.5943 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.2718, allocations: 29.7 kB / 0.5943 GB, free: 2.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.272, allocations: 314.8 kB / 0.5946 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2722, allocations: 103.9 kB / 0.5947 GB, free: 1.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2724, allocations: 99.94 kB / 0.5948 GB, free: 1.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.2728, allocations: 285.1 kB / 0.5951 GB, free: 1.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2728, allocations: 0 / 0.5951 GB, free: 1.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005324/0.2734, allocations: 332.7 kB / 0.5954 GB, free: 1.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.2735, allocations: 71.38 kB / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2735, allocations: 0 / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2735, allocations: 0 / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.2735, allocations: 0 / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2735, allocations: 0 / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2738, allocations: 15.84 kB / 0.5955 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2738, allocations: 4 kB / 0.5955 GB, free: 0.9258 MB / 446.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.0001496/0.274, allocations: 156.3 kB / 0.5956 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.274, allocations: 8.031 kB / 0.5957 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.274, allocations: 8.234 kB / 0.5957 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.274, allocations: 0 / 0.5957 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2741, allocations: 0 / 0.5957 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2741, allocations: 0 / 0.5957 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2743, allocations: 185.5 kB / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2743, allocations: 0 / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.2743, allocations: 0 / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2743, allocations: 0 / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2743, allocations: 4 kB / 0.5958 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2743, allocations: 4 kB / 0.5958 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2743, allocations: 0 / 0.5958 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2747, allocations: 234.6 kB / 0.5961 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.2748, allocations: 81.02 kB / 0.5961 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.2749, allocations: 4 kB / 0.5961 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.2749, allocations: 4 kB / 0.5962 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.275, allocations: 11.92 kB / 0.5962 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.2751, allocations: 0 / 0.5962 GB, free: 132 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.2752, allocations: 117.5 kB / 0.5963 GB, free: 16 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2752, allocations: 0 / 0.5963 GB, free: 16 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.2757, allocations: 64.08 kB / 0.5963 GB, free: 15.95 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.0003602/0.2761, allocations: 155 kB / 0.5965 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.2767, allocations: 374.6 kB / 0.5968 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2767, allocations: 0 / 0.5968 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.277, allocations: 135.4 kB / 0.597 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2772, allocations: 12.06 kB / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.2777, allocations: 225.4 kB / 0.5972 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.2781, allocations: 0.6924 MB / 0.5979 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.016e-06/0.2781, allocations: 0 / 0.5979 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.2782, allocations: 7.438 kB / 0.5979 GB, free: 14.27 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2782, allocations: 0 / 0.5979 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Templates: time 0.006881/0.2851, allocations: 1.985 MB / 0.5998 GB, free: 12.3 MB / 462.1 MB 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)