Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 198.8 kB / 16.54 MB, free: 6.672 MB / 14.72 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: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002808/0.002808, allocations: 298.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 101.8 kB / 0.6066 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1795, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002411/0.1819, allocations: 1.494 MB / 0.6951 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.183, allocations: 0.7343 MB / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.1831, allocations: 0 / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1833, allocations: 131.7 kB / 0.6959 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.1834, allocations: 75.83 kB / 0.696 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1839, allocations: 180.9 kB / 0.6962 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.184, allocations: 59.89 kB / 0.6962 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.184, allocations: 11.92 kB / 0.6962 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1841, allocations: 39.89 kB / 0.6963 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1842, allocations: 83.84 kB / 0.6963 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1842, allocations: 0 / 0.6963 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.1846, allocations: 227.6 kB / 0.6966 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.1847, allocations: 59.83 kB / 0.6966 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.1847, allocations: 55.48 kB / 0.6967 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1851, allocations: 267.3 kB / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1851, allocations: 0 / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1851, allocations: 0 / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1851, allocations: 0 / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006202/0.1857, allocations: 0.5099 MB / 0.6974 GB, free: 260 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1858, allocations: 11.97 kB / 0.6974 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.1858, allocations: 30.75 kB / 0.6975 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1859, allocations: 24.66 kB / 0.6975 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1861, allocations: 255.7 kB / 0.6977 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1861, allocations: 12.3 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1862, allocations: 4.375 kB / 0.6978 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1863, allocations: 73.8 kB / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1864, allocations: 0 / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1864, allocations: 7.984 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1864, allocations: 0 / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1866, allocations: 83.94 kB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.1871, allocations: 392.7 kB / 0.6983 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1873, allocations: 98.45 kB / 0.6984 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1874, allocations: 44.89 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1874, allocations: 15.98 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1875, allocations: 34.56 kB / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1875, allocations: 0 / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004069/0.1879, allocations: 181.3 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1879, allocations: 55.34 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.1883, allocations: 355.2 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1883, allocations: 25.7 kB / 0.6991 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.1884, allocations: 136.1 kB / 0.6992 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1884, allocations: 7.844 kB / 0.6992 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.1885, allocations: 33.81 kB / 0.6992 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1886, allocations: 342.8 kB / 0.6996 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1888, allocations: 91.95 kB / 0.6996 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1889, allocations: 95.94 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1892, allocations: 211.6 kB / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1892, allocations: 0 / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003551/0.1896, allocations: 253.4 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1896, allocations: 4 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1896, allocations: 3.938 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1896, allocations: 7.984 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.1897, allocations: 11.92 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1897, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.1898, allocations: 15.84 kB / 0.7002 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1898, allocations: 0 / 0.7002 GB, free: 13.21 MB / 0.4981 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1899, allocations: 153.7 kB / 0.7004 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.19, allocations: 19.72 kB / 0.7004 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1903, allocations: 142.5 kB / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1903, allocations: 0 / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1903, allocations: 4 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1903, allocations: 3.938 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1905, allocations: 241.5 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1905, allocations: 4.031 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.1906, allocations: 15.92 kB / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1906, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.1906, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1906, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1906, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1909, allocations: 239.1 kB / 0.701 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.191, allocations: 100.8 kB / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.191, allocations: 0 / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1911, allocations: 7.984 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.1912, allocations: 0 / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1912, allocations: 4 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002387/0.1914, allocations: 249.9 kB / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1914, allocations: 0 / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003157/0.1917, allocations: 64 kB / 0.7014 GB, free: 11.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008065/0.1926, allocations: 0.8292 MB / 0.7022 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1929, allocations: 163.9 kB / 0.7024 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1929, allocations: 0 / 0.7024 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.193, allocations: 43.91 kB / 0.7024 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1933, allocations: 16.59 kB / 0.7024 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1963, allocations: 2.711 MB / 0.7051 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1967, allocations: 0.7409 MB / 0.7058 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.577e-05/0.1968, allocations: 16.55 kB / 0.7058 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.1969, allocations: 59.42 kB / 0.7059 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1969, allocations: 0 / 0.7059 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06057/0.2574, allocations: 4.254 MB / 0.71 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/8.661, allocations: 14.36 kB / 0.71 GB, free: 3.039 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)