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.2378/0.2399, allocations: 80.83 MB / 0.6707 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.003266/0.2433, allocations: 0.5835 MB / 0.6712 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.2466, allocations: 1.413 MB / 0.6726 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.2467, allocations: 3.938 kB / 0.6726 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.2468, allocations: 0 / 0.6726 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.2469, allocations: 11.92 kB / 0.6726 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.248, allocations: 178.4 kB / 0.6728 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.2481, allocations: 43.95 kB / 0.6728 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.2482, allocations: 4 kB / 0.6728 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.2483, allocations: 19.92 kB / 0.6728 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.2483, allocations: 31.89 kB / 0.6729 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2484, allocations: 8 kB / 0.6729 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.2488, allocations: 203.7 kB / 0.6731 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.2488, allocations: 8 kB / 0.6731 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.2489, allocations: 27.78 kB / 0.6731 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.2492, allocations: 183.6 kB / 0.6733 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.2492, allocations: 3.984 kB / 0.6733 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.951e-06/0.2493, allocations: 4 kB / 0.6733 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.2493, allocations: 3.938 kB / 0.6733 GB, free: 1.828 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.0006637/0.2499, allocations: 430.7 kB / 0.6737 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.25, allocations: 16.03 kB / 0.6737 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.2501, allocations: 12.84 kB / 0.6737 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2502, allocations: 168.3 kB / 0.6739 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2503, allocations: 384 / 0.6739 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2503, allocations: 7.938 kB / 0.6739 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2505, allocations: 94.36 kB / 0.674 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2505, allocations: 0 / 0.674 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2505, allocations: 0 / 0.674 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2505, allocations: 0 / 0.674 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2507, allocations: 67.88 kB / 0.6741 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.251, allocations: 177.6 kB / 0.6742 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2511, allocations: 82.47 kB / 0.6743 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.2512, allocations: 68.89 kB / 0.6744 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.2512, allocations: 0 / 0.6744 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2512, allocations: 38.55 kB / 0.6744 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2512, allocations: 0 / 0.6744 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004563/0.2517, allocations: 255.1 kB / 0.6747 GB, free: 260 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.2518, allocations: 85.14 kB / 0.6747 GB, free: 156 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.252, allocations: 148.4 kB / 0.6749 GB, free: 0 / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.252, allocations: 25.7 kB / 0.6749 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2521, allocations: 92.14 kB / 0.675 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2521, allocations: 15.73 kB / 0.675 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.2522, allocations: 25.72 kB / 0.675 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2524, allocations: 322.8 kB / 0.6753 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2525, allocations: 99.94 kB / 0.6754 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2527, allocations: 107.9 kB / 0.6755 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.253, allocations: 277.7 kB / 0.6758 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.253, allocations: 7.875 kB / 0.6758 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003443/0.2533, allocations: 320.9 kB / 0.6761 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.2534, allocations: 71.39 kB / 0.6762 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2534, allocations: 3.938 kB / 0.6762 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2534, allocations: 0 / 0.6762 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.2535, allocations: 0 / 0.6762 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.2535, allocations: 0 / 0.6762 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.2536, allocations: 15.97 kB / 0.6762 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2536, allocations: 7.984 kB / 0.6762 GB, free: 14.56 MB / 0.5294 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.000138/0.2538, allocations: 152.1 kB / 0.6764 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.2538, allocations: 7.906 kB / 0.6764 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.2538, allocations: 8.391 kB / 0.6764 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.2538, allocations: 3.984 kB / 0.6764 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2538, allocations: 0 / 0.6764 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2538, allocations: 0 / 0.6764 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.254, allocations: 181.6 kB / 0.6765 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.254, allocations: 4 kB / 0.6766 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.254, allocations: 4 kB / 0.6766 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.254, allocations: 0 / 0.6766 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2541, allocations: 4 kB / 0.6766 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2541, allocations: 0 / 0.6766 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2541, allocations: 0 / 0.6766 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.2544, allocations: 234.5 kB / 0.6768 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.2544, allocations: 84.95 kB / 0.6769 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2544, allocations: 4 kB / 0.6769 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.2545, allocations: 8.016 kB / 0.6769 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2546, allocations: 8 kB / 0.6769 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2546, allocations: 7.984 kB / 0.6769 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.375e-05/0.2547, allocations: 103.3 kB / 0.677 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2547, allocations: 0 / 0.677 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003148/0.255, allocations: 67.98 kB / 0.6771 GB, free: 13.58 MB / 0.5294 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.0002917/0.2553, allocations: 143.2 kB / 0.6772 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.2558, allocations: 382.6 kB / 0.6776 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2558, allocations: 0 / 0.6776 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.256, allocations: 143.3 kB / 0.6777 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2562, allocations: 10.44 kB / 0.6777 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.2566, allocations: 205.6 kB / 0.6779 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.257, allocations: 0.6885 MB / 0.6786 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.257, allocations: 3.906 kB / 0.6786 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.257, allocations: 11.44 kB / 0.6786 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.257, allocations: 4.125 kB / 0.6786 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.005273/0.2623, allocations: 2.043 MB / 0.6806 GB, free: 9.867 MB / 0.5294 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)