Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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: translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 193.7 kB / 16.14 MB, free: 6.738 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 282.9 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 96.84 kB / 0.6057 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1823, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002801/0.1852, allocations: 1.536 MB / 0.6943 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1867, allocations: 0.804 MB / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.1867, allocations: 0 / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.187, allocations: 136.4 kB / 0.6952 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.1875, allocations: 153.8 kB / 0.6954 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1876, allocations: 51.89 kB / 0.6954 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.462e-05/0.1877, allocations: 67.81 kB / 0.6955 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.1878, allocations: 7.984 kB / 0.6955 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.1878, allocations: 43.83 kB / 0.6955 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.188, allocations: 79.84 kB / 0.6956 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.188, allocations: 4 kB / 0.6956 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1884, allocations: 215.7 kB / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1885, allocations: 103.7 kB / 0.6959 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.1886, allocations: 79.28 kB / 0.696 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.189, allocations: 319.1 kB / 0.6963 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.189, allocations: 3.938 kB / 0.6963 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.189, allocations: 0 / 0.6963 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.189, allocations: 0 / 0.6963 GB, free: 1.242 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.0007778/0.1898, allocations: 0.5682 MB / 0.6968 GB, free: 0.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1898, allocations: 8.031 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.1899, allocations: 32.5 kB / 0.6969 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1903, allocations: 378.3 kB / 0.6972 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1903, allocations: 8.375 kB / 0.6972 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1904, allocations: 384 / 0.6972 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1906, allocations: 85.97 kB / 0.6973 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1906, allocations: 0 / 0.6973 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1906, allocations: 0 / 0.6973 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1906, allocations: 0 / 0.6973 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.1908, allocations: 96 kB / 0.6974 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.1914, allocations: 472.6 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1916, allocations: 106.5 kB / 0.698 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1918, allocations: 60.83 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1918, allocations: 19.98 kB / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1919, allocations: 34.56 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1919, allocations: 0 / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004948/0.1924, allocations: 213.2 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1924, allocations: 51.41 kB / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.193, allocations: 0.5404 MB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.193, allocations: 25.7 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1932, allocations: 164.1 kB / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.1932, allocations: 4 kB / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.1933, allocations: 45.61 kB / 0.6991 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1934, allocations: 338.8 kB / 0.6994 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1936, allocations: 95.94 kB / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1938, allocations: 95.92 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.1941, allocations: 178.4 kB / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1941, allocations: 0 / 0.6998 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004425/0.1946, allocations: 277.1 kB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1946, allocations: 5.094 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1946, allocations: 0 / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1946, allocations: 0 / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1948, allocations: 27.98 kB / 0.7001 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1948, allocations: 0 / 0.7001 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.1949, allocations: 15.98 kB / 0.7001 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1949, allocations: 4 kB / 0.7001 GB, free: 13.14 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001546/0.195, allocations: 169.7 kB / 0.7002 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1951, allocations: 31.56 kB / 0.7003 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1954, allocations: 163.8 kB / 0.7004 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1955, allocations: 0 / 0.7004 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1955, allocations: 0 / 0.7004 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1955, allocations: 8.016 kB / 0.7004 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1958, allocations: 277.5 kB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1958, allocations: 0 / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.1958, allocations: 11.92 kB / 0.7007 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1959, allocations: 3.984 kB / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1959, allocations: 4 kB / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1959, allocations: 0 / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1959, allocations: 0 / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1962, allocations: 263 kB / 0.701 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1963, allocations: 116.7 kB / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1964, allocations: 0 / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.1965, allocations: 4 kB / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1965, allocations: 3.984 kB / 0.7011 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1965, allocations: 7.938 kB / 0.7011 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004305/0.197, allocations: 399.1 kB / 0.7015 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.197, allocations: 4.031 kB / 0.7015 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003715/0.1974, allocations: 79.98 kB / 0.7016 GB, free: 11.52 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.0003042/0.1977, allocations: 151.2 kB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.198, allocations: 167.8 kB / 0.7019 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.198, allocations: 0 / 0.7019 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1982, allocations: 55.95 kB / 0.7019 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1985, allocations: 21.5 kB / 0.7019 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.1993, allocations: 0.5845 MB / 0.7025 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1998, allocations: 0.7836 MB / 0.7033 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.841e-05/0.1998, allocations: 30.53 kB / 0.7033 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1999, allocations: 19.44 kB / 0.7033 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1999, allocations: 0 / 0.7033 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.006548/0.2065, allocations: 2.664 MB / 0.7059 GB, free: 6.992 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)