Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 177 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 93.91 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.00173, allocations: 279.3 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.767e-05, allocations: 8 kB / 0.6835 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4429, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.5624, allocations: 108.3 MB / 0.87 GB, free: 304 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5626, allocations: 76.7 kB / 0.8701 GB, free: 232 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003649/0.5663, allocations: 1.244 MB / 0.8713 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5663, allocations: 0 / 0.8713 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5663, allocations: 0 / 0.8713 GB, free: 14.99 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003375/0.5667, allocations: 351.5 kB / 0.8716 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5667, allocations: 8.031 kB / 0.8716 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.5668, allocations: 15.91 kB / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.5669, allocations: 171 kB / 0.8718 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.567, allocations: 3.953 kB / 0.8718 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.567, allocations: 4 kB / 0.8718 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.5671, allocations: 45.62 kB / 0.8718 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5671, allocations: 0 / 0.8718 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5671, allocations: 7.938 kB / 0.8719 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5672, allocations: 0 / 0.8719 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.5672, allocations: 15.98 kB / 0.8719 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.5676, allocations: 257 kB / 0.8721 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.5677, allocations: 42.56 kB / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.5677, allocations: 12.86 kB / 0.8722 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5677, allocations: 3.938 kB / 0.8722 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5677, allocations: 30.56 kB / 0.8722 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5678, allocations: 0 / 0.8722 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.01538/0.5831, allocations: 1.133 MB / 0.8733 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5832, allocations: 51.41 kB / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5834, allocations: 113 kB / 0.8735 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.5834, allocations: 25.7 kB / 0.8735 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.5835, allocations: 95.98 kB / 0.8736 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.5836, allocations: 23.7 kB / 0.8736 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.5836, allocations: 0 / 0.8736 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5838, allocations: 322.8 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.5841, allocations: 112 kB / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.5845, allocations: 112 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.5849, allocations: 120.5 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5849, allocations: 4 kB / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009612/0.5858, allocations: 285.4 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5859, allocations: 5.25 kB / 0.8745 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5859, allocations: 2.578 kB / 0.8745 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5859, allocations: 288 / 0.8745 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.5875, allocations: 71.88 kB / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5875, allocations: 4 kB / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5888, allocations: 55.94 kB / 0.8747 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.5888, allocations: 4 kB / 0.8747 GB, free: 11.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001649/0.589, allocations: 108.9 kB / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.5891, allocations: 11.89 kB / 0.8748 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.5893, allocations: 20.61 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5893, allocations: 0 / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5893, allocations: 4 kB / 0.8748 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5893, allocations: 0 / 0.8748 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.5946, allocations: 0.8063 MB / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5946, allocations: 0 / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5957, allocations: 59.94 kB / 0.8756 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5957, allocations: 0 / 0.8756 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.5958, allocations: 7.984 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5958, allocations: 3.953 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5958, allocations: 64 / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.5966, allocations: 300.5 kB / 0.8759 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.5966, allocations: 88.95 kB / 0.876 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.5967, allocations: 4 kB / 0.876 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.5977, allocations: 47.95 kB / 0.8761 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.5977, allocations: 4 kB / 0.8761 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.5978, allocations: 3.984 kB / 0.8761 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.5978, allocations: 95.38 kB / 0.8762 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5978, allocations: 288 / 0.8762 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004099/0.5983, allocations: 99.94 kB / 0.8763 GB, free: 9.547 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002659/0.5985, allocations: 131.2 kB / 0.8764 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.5993, allocations: 191.9 kB / 0.8766 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5993, allocations: 0 / 0.8766 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.5996, allocations: 75.98 kB / 0.8766 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.5998, allocations: 15.89 kB / 0.8767 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.6023, allocations: 238.7 kB / 0.8769 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.6026, allocations: 0.6887 MB / 0.8776 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.6031, allocations: 52 kB / 0.8776 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.6036, allocations: 15.42 kB / 0.8776 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/0.6036, allocations: 0 / 0.8776 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.01205/0.6156, allocations: 8.036 MB / 0.8855 GB, free: 16 kB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)