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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.784/0.784, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 177 kB / 191.5 MB, free: 5.766 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.503/1.503, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.00104/0.00104, allocations: 100.2 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 266.5 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006087/0.0006089, allocations: 16 kB / 0.693 GB, free: 2.191 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4457, allocations: 82.78 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5955, allocations: 108.3 MB / 0.8796 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5958, allocations: 83.89 kB / 0.8796 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003914/0.5997, allocations: 1.245 MB / 0.8809 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.486e-06/0.5997, allocations: 0 / 0.8809 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.5998, allocations: 0 / 0.8809 GB, free: 12.41 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.0004724/0.6002, allocations: 379.1 kB / 0.8812 GB, free: 12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6003, allocations: 8.031 kB / 0.8812 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.6004, allocations: 30.56 kB / 0.8813 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.6004, allocations: 8 kB / 0.8813 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.6006, allocations: 174.9 kB / 0.8814 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6006, allocations: 0 / 0.8814 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.6006, allocations: 4 kB / 0.8814 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.6008, allocations: 65.55 kB / 0.8815 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.6008, allocations: 0 / 0.8815 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6009, allocations: 4 kB / 0.8815 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6009, allocations: 0 / 0.8815 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.601, allocations: 39.95 kB / 0.8815 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.6014, allocations: 253 kB / 0.8818 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.6016, allocations: 78.53 kB / 0.8819 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.6016, allocations: 3.938 kB / 0.8819 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6017, allocations: 38.56 kB / 0.8819 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.6017, allocations: 0 / 0.8819 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0383/0.64, allocations: 1.753 MB / 0.8836 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.6401, allocations: 59.39 kB / 0.8837 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.6403, allocations: 108.9 kB / 0.8838 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.6404, allocations: 25.7 kB / 0.8838 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.6405, allocations: 92.14 kB / 0.8839 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6406, allocations: 27.56 kB / 0.8839 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.6407, allocations: 0 / 0.8839 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6409, allocations: 322.8 kB / 0.8842 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.6417, allocations: 163.9 kB / 0.8844 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.6425, allocations: 155.9 kB / 0.8845 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.6432, allocations: 163.9 kB / 0.8847 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6432, allocations: 0.5625 kB / 0.8847 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002027/0.6453, allocations: 389.3 kB / 0.8851 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6453, allocations: 7.938 kB / 0.8851 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6453, allocations: 0 / 0.8851 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6453, allocations: 4 kB / 0.8851 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.6476, allocations: 75.89 kB / 0.8851 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6476, allocations: 4 kB / 0.8851 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.6492, allocations: 55.94 kB / 0.8852 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.6492, allocations: 7.984 kB / 0.8852 GB, free: 7.746 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 () * Number of clocked 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.0002305/0.6495, allocations: 118.3 kB / 0.8853 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.6496, allocations: 4 kB / 0.8853 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.6497, allocations: 24.36 kB / 0.8853 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6497, allocations: 432 / 0.8853 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6497, allocations: 0 / 0.8853 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6498, allocations: 0 / 0.8853 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.6557, allocations: 0.9193 MB / 0.8862 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6558, allocations: 8.062 kB / 0.8862 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.6569, allocations: 71.89 kB / 0.8863 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.6569, allocations: 3.984 kB / 0.8863 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.657, allocations: 7.984 kB / 0.8863 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.657, allocations: 3.953 kB / 0.8863 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.657, allocations: 0 / 0.8863 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.658, allocations: 400.4 kB / 0.8867 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.6581, allocations: 81.06 kB / 0.8868 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.6581, allocations: 7.938 kB / 0.8868 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6592, allocations: 51.94 kB / 0.8868 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.6592, allocations: 0 / 0.8868 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.6593, allocations: 11.98 kB / 0.8869 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.6594, allocations: 95.27 kB / 0.887 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6594, allocations: 0 / 0.887 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004989/0.6599, allocations: 103.9 kB / 0.887 GB, free: 5.727 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 () * Number of clocked 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.00157/0.6615, allocations: 1.085 MB / 0.8881 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.6625, allocations: 295.7 kB / 0.8884 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6625, allocations: 0 / 0.8884 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.6629, allocations: 115.9 kB / 0.8885 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.6631, allocations: 9.438 kB / 0.8885 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.6683, allocations: 1.613 MB / 0.8901 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.6686, allocations: 0.6887 MB / 0.8908 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.6692, allocations: 56.39 kB / 0.8908 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.6697, allocations: 39.36 kB / 0.8909 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of SimCode: time 2.936e-06/0.6697, allocations: 3.938 kB / 0.8909 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.694, allocations: 9.03 MB / 0.8997 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/0.6945, allocations: 202.5 kB / 0.8999 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.599, allocations: 3.938 kB / 0.8999 GB, free: 8.559 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)