Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7085/0.7085, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 399.5 MB, free: 5.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 94.03 kB / 476.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.148e-05, allocations: 8 kB / 0.5466 GB, free: 60.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 76.76 MB / 0.6215 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5573, allocations: 103 MB / 0.7222 GB, free: 12.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5576, allocations: 84.72 kB / 0.7223 GB, free: 12.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.5704, allocations: 3.26 MB / 0.7254 GB, free: 9.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5705, allocations: 0 / 0.7254 GB, free: 9.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.5705, allocations: 4 kB / 0.7254 GB, free: 9.711 MB / 490.7 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.0005015/0.571, allocations: 424.5 kB / 0.7258 GB, free: 9.246 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5711, allocations: 15.97 kB / 0.7259 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.5711, allocations: 7.859 kB / 0.7259 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.5713, allocations: 167 kB / 0.726 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.5713, allocations: 4 kB / 0.726 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5713, allocations: 7.938 kB / 0.726 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000152/0.5715, allocations: 62.52 kB / 0.7261 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5717, allocations: 93.08 kB / 0.7262 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5717, allocations: 0 / 0.7262 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.5717, allocations: 4 kB / 0.7262 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5718, allocations: 0 / 0.7262 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.572, allocations: 152.7 kB / 0.7263 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.5722, allocations: 86.03 kB / 0.7264 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.5723, allocations: 71.02 kB / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.5723, allocations: 0 / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5723, allocations: 30.56 kB / 0.7265 GB, free: 8.484 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 4.248e-06/0.5723, allocations: 0 / 0.7265 GB, free: 8.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004055/0.5728, allocations: 161.6 kB / 0.7267 GB, free: 8.328 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.5728, allocations: 81.11 kB / 0.7267 GB, free: 8.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.573, allocations: 138.1 kB / 0.7269 GB, free: 8.102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.573, allocations: 29.73 kB / 0.7269 GB, free: 8.066 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.5731, allocations: 87.58 kB / 0.727 GB, free: 7.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.5731, allocations: 11.2 kB / 0.727 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.5731, allocations: 0 / 0.727 GB, free: 7.973 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5733, allocations: 321.2 kB / 0.7273 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.5734, allocations: 94 kB / 0.7274 GB, free: 7.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.5736, allocations: 101.9 kB / 0.7275 GB, free: 7.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.5739, allocations: 94.17 kB / 0.7276 GB, free: 7.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5739, allocations: 4 kB / 0.7276 GB, free: 7.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005165/0.5744, allocations: 252.3 kB / 0.7278 GB, free: 7.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.5745, allocations: 67.39 kB / 0.7279 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5745, allocations: 3.984 kB / 0.7279 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5745, allocations: 0 / 0.7279 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.5745, allocations: 2.688 kB / 0.7279 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5746, allocations: 0 / 0.7279 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.5747, allocations: 18.72 kB / 0.7279 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.5747, allocations: 4 kB / 0.7279 GB, free: 7.07 MB / 490.7 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 () * 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 0.0001068/0.5748, allocations: 142.6 kB / 0.7281 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.5749, allocations: 11.94 kB / 0.7281 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.5749, allocations: 7.344 kB / 0.7281 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5749, allocations: 0 / 0.7281 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5749, allocations: 4 kB / 0.7281 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5749, allocations: 3.938 kB / 0.7281 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.575, allocations: 149.3 kB / 0.7282 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5751, allocations: 0 / 0.7282 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.5751, allocations: 3.953 kB / 0.7282 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5751, allocations: 4 kB / 0.7282 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5751, allocations: 11.86 kB / 0.7282 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5751, allocations: 0 / 0.7282 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5751, allocations: 4 kB / 0.7282 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.5755, allocations: 192.1 kB / 0.7284 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.5755, allocations: 81.02 kB / 0.7285 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5756, allocations: 7.953 kB / 0.7285 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.5757, allocations: 4 kB / 0.7285 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.5757, allocations: 11.61 kB / 0.7285 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5758, allocations: 0.875 kB / 0.7285 GB, free: 6.383 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.354e-05/0.5758, allocations: 105.4 kB / 0.7286 GB, free: 6.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5758, allocations: 0 / 0.7286 GB, free: 6.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.5763, allocations: 75.92 kB / 0.7287 GB, free: 6.211 MB / 490.7 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) * 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.0003877/0.5767, allocations: 162.5 kB / 0.7289 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.5773, allocations: 358.3 kB / 0.7292 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5773, allocations: 0 / 0.7292 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.5775, allocations: 136.7 kB / 0.7293 GB, free: 5.594 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.5776, allocations: 4.125 kB / 0.7293 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.578, allocations: 157 kB / 0.7295 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5783, allocations: 0.6963 MB / 0.7302 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.283e-06/0.5784, allocations: 0 / 0.7302 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.5784, allocations: 7.438 kB / 0.7302 GB, free: 4.691 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5784, allocations: 0 / 0.7302 GB, free: 4.691 MB / 490.7 MB Notification: Performance of Templates: time 0.005588/0.584, allocations: 1.775 MB / 0.7319 GB, free: 2.941 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)