Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",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.9975/0.9975, 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.00103/0.00103, allocations: 171.9 kB / 191.5 MB, free: 5.77 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.429/1.429, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0009218/0.0009219, allocations: 92.27 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002472, allocations: 276.8 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 15.72 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1754, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.3369, allocations: 109.5 MB / 0.8807 GB, free: 148 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.3372, allocations: 87.94 kB / 0.8808 GB, free: 60 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.411/0.7483, allocations: 3.22 MB / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.584e-06/0.7483, allocations: 0 / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7484, allocations: 2.531 kB / 0.8839 GB, free: 109.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000366/0.7487, allocations: 442.5 kB / 0.8844 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7488, allocations: 14.12 kB / 0.8844 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.7488, allocations: 35.11 kB / 0.8844 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.7489, allocations: 5.062 kB / 0.8844 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.868e-05/0.749, allocations: 176.5 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.749, allocations: 6.453 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.749, allocations: 2.531 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.7492, allocations: 96.45 kB / 0.8847 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7492, allocations: 2.531 kB / 0.8847 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.7492, allocations: 2.531 kB / 0.8847 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7492, allocations: 0 / 0.8847 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.7493, allocations: 59.94 kB / 0.8847 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.7495, allocations: 178.4 kB / 0.8849 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.7496, allocations: 83.45 kB / 0.885 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.7496, allocations: 4.656 kB / 0.885 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.7496, allocations: 33.09 kB / 0.885 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7496, allocations: 0 / 0.885 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004273/0.7501, allocations: 332.8 kB / 0.8853 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.7501, allocations: 83.62 kB / 0.8854 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7502, allocations: 134.5 kB / 0.8856 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.7503, allocations: 29.64 kB / 0.8856 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.7503, allocations: 88.67 kB / 0.8857 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.7503, allocations: 21.03 kB / 0.8857 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.7503, allocations: 2.906 kB / 0.8857 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.7504, allocations: 319.1 kB / 0.886 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.7506, allocations: 96.97 kB / 0.8861 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.7507, allocations: 96.78 kB / 0.8862 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7508, allocations: 164.8 kB / 0.8863 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7508, allocations: 0 / 0.8863 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000345/0.7512, allocations: 312.2 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.7512, allocations: 72.69 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.7513, allocations: 4.062 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7513, allocations: 0 / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.7513, allocations: 4.453 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7513, allocations: 2.938 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.7514, allocations: 6.984 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.7514, allocations: 10.56 kB / 0.8867 GB, free: 107.2 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.7515, allocations: 149.3 kB / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.7515, allocations: 7.547 kB / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.7515, allocations: 15.31 kB / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7516, allocations: 4.656 kB / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7516, allocations: 0 / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7516, allocations: 0 / 0.8869 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.7517, allocations: 172.8 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7517, allocations: 1.609 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.7517, allocations: 0 / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7517, allocations: 0 / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.7517, allocations: 6.656 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7518, allocations: 3.953 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7518, allocations: 0.5625 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.752, allocations: 230.8 kB / 0.8873 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.7521, allocations: 88.47 kB / 0.8874 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.7521, allocations: 4.5 kB / 0.8874 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.7521, allocations: 4.047 kB / 0.8874 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.7522, allocations: 13.27 kB / 0.8874 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7522, allocations: 3.141 kB / 0.8874 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.7523, allocations: 107.2 kB / 0.8875 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/0.7523, allocations: 4.031 kB / 0.8875 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002867/0.7526, allocations: 76.94 kB / 0.8876 GB, free: 106.5 MB / 0.5417 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 (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.0006037/0.7532, allocations: 0.8167 MB / 0.8884 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.7536, allocations: 370.5 kB / 0.8887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7536, allocations: 4.969 kB / 0.8887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7538, allocations: 137 kB / 0.8889 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.7539, allocations: 9.219 kB / 0.8889 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.7545, allocations: 447.3 kB / 0.8893 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.7547, allocations: 0.6945 MB / 0.89 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.683e-06/0.7547, allocations: 0.6094 kB / 0.89 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.7547, allocations: 17.22 kB / 0.89 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.7547, allocations: 0 / 0.89 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.77, allocations: 2.831 MB / 0.8928 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.7702, allocations: 198.9 kB / 0.893 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.426, allocations: 0 / 0.893 GB, free: 104.1 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)