Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009966/0.0009967, allocations: 176.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007842/0.0007843, allocations: 95.27 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.162e-05, allocations: 8 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6251, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.8032, allocations: 139.1 MB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.8035, allocations: 84.83 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009234/0.8128, allocations: 3.154 MB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8128, allocations: 0 / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8128, allocations: 4 kB / 1.112 GB, free: 7.926 MB / 0.7136 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.0003792/0.8132, allocations: 438.6 kB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8132, allocations: 12.88 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.8133, allocations: 7.844 kB / 1.113 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.8134, allocations: 172.3 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8135, allocations: 6.031 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.8135, allocations: 4 kB / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.8136, allocations: 55.95 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.8137, allocations: 89.66 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8138, allocations: 0 / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.8138, allocations: 7.984 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8138, allocations: 2.625 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.814, allocations: 158 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.8141, allocations: 82.48 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.8142, allocations: 68.89 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-06/0.8142, allocations: 3.5 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.8142, allocations: 30.56 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.8142, allocations: 4 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000303/0.8145, allocations: 153.6 kB / 1.114 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.8146, allocations: 81.11 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.8147, allocations: 135.4 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.8147, allocations: 25.7 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.8148, allocations: 96.11 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.8148, allocations: 11.81 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.8148, allocations: 4 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.815, allocations: 314.8 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.8151, allocations: 95.94 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.8152, allocations: 95.94 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.8154, allocations: 103.9 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8154, allocations: 0 / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000337/0.8157, allocations: 247.7 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.8158, allocations: 79.97 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8158, allocations: 3.125 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8158, allocations: 6.141 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.8158, allocations: 0 / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.8158, allocations: 0 / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.8159, allocations: 11.94 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8159, allocations: 4 kB / 1.115 GB, free: 5.16 MB / 0.7136 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 () * 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 9.832e-05/0.8161, allocations: 142.7 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.8161, allocations: 11.91 kB / 1.115 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.8161, allocations: 8.297 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8161, allocations: 0 / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8161, allocations: 7.938 kB / 1.115 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.8161, allocations: 0 / 1.115 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.8162, allocations: 146.2 kB / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8162, allocations: 0 / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.8162, allocations: 4 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.8163, allocations: 0 / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.8163, allocations: 4 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.8163, allocations: 0 / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8163, allocations: 7.953 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.8165, allocations: 192.9 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.8166, allocations: 81.02 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.8166, allocations: 6.75 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.8167, allocations: 4 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.8167, allocations: 11.94 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.8168, allocations: 9.688 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.8168, allocations: 101.2 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8168, allocations: 4 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002764/0.8171, allocations: 83.86 kB / 1.116 GB, free: 4.258 MB / 0.7136 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) * 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.0002661/0.8174, allocations: 155.1 kB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.8178, allocations: 354.7 kB / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8178, allocations: 0 / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.8179, allocations: 135.4 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.818, allocations: 8.125 kB / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.8183, allocations: 152.4 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.8186, allocations: 0.6963 MB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.35e-06/0.8186, allocations: 0 / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.8186, allocations: 7.438 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8186, allocations: 0 / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of Templates: time 0.003837/0.8225, allocations: 1.738 MB / 1.119 GB, free: 0.9727 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)