Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 266.9 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 17.44 kB / 0.598 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001506/0.1856, allocations: 1.152 MB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1869, allocations: 0.772 MB / 0.6864 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.187, allocations: 0 / 0.6864 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1872, allocations: 129.7 kB / 0.6865 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1873, allocations: 73 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1878, allocations: 150.7 kB / 0.6867 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.1879, allocations: 57.59 kB / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1879, allocations: 288 / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.188, allocations: 39.89 kB / 0.6868 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1881, allocations: 64.81 kB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1881, allocations: 4 kB / 0.6868 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.1885, allocations: 227.2 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.1886, allocations: 71.8 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1886, allocations: 37.64 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1888, allocations: 195.7 kB / 0.6874 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1889, allocations: 0 / 0.6874 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1889, allocations: 0 / 0.6874 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1889, allocations: 3.938 kB / 0.6874 GB, free: 12.52 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.0005611/0.1894, allocations: 499.5 kB / 0.6878 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1895, allocations: 16.02 kB / 0.6879 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1895, allocations: 20.28 kB / 0.6879 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1898, allocations: 246.6 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1898, allocations: 6.438 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1898, allocations: 0 / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.19, allocations: 81.66 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.19, allocations: 4.734 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.19, allocations: 0 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.19, allocations: 0.7812 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1903, allocations: 97.64 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.1908, allocations: 411.1 kB / 0.6887 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1909, allocations: 97.12 kB / 0.6888 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1911, allocations: 61.38 kB / 0.6888 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.1911, allocations: 16.86 kB / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1911, allocations: 31.09 kB / 0.6889 GB, free: 10.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1911, allocations: 1.094 kB / 0.6889 GB, free: 10.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003957/0.1915, allocations: 198.3 kB / 0.6891 GB, free: 10.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1916, allocations: 55.36 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.1919, allocations: 351.2 kB / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.192, allocations: 25.7 kB / 0.6895 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1921, allocations: 144 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.1921, allocations: 3.938 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1921, allocations: 8.125 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1922, allocations: 330.8 kB / 0.6899 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.1924, allocations: 99.95 kB / 0.69 GB, free: 9.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1925, allocations: 101.3 kB / 0.6901 GB, free: 9.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1927, allocations: 108 kB / 0.6902 GB, free: 9.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1927, allocations: 0 / 0.6902 GB, free: 9.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003425/0.193, allocations: 264 kB / 0.6905 GB, free: 9.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1931, allocations: 4 kB / 0.6905 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1931, allocations: 4 kB / 0.6905 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1931, allocations: 0 / 0.6905 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.1932, allocations: 15.98 kB / 0.6905 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1932, allocations: 7.938 kB / 0.6905 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.1933, allocations: 19.83 kB / 0.6905 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1933, allocations: 0 / 0.6905 GB, free: 9.062 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.1934, allocations: 146.5 kB / 0.6907 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1934, allocations: 19.72 kB / 0.6907 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1937, allocations: 150.6 kB / 0.6908 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1937, allocations: 3.938 kB / 0.6908 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1937, allocations: 0 / 0.6908 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.1938, allocations: 7.984 kB / 0.6909 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.194, allocations: 245.5 kB / 0.6911 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.194, allocations: 0 / 0.6911 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.1941, allocations: 11.98 kB / 0.6911 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1941, allocations: 0 / 0.6911 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1941, allocations: 0 / 0.6911 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1941, allocations: 3.938 kB / 0.6911 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1941, allocations: 0 / 0.6911 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1944, allocations: 251.2 kB / 0.6913 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.1945, allocations: 96.83 kB / 0.6914 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1945, allocations: 11.98 kB / 0.6914 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.1946, allocations: 8.031 kB / 0.6915 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1946, allocations: 3.938 kB / 0.6915 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1946, allocations: 7.984 kB / 0.6915 GB, free: 8.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.1949, allocations: 245.9 kB / 0.6917 GB, free: 7.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1949, allocations: 3.938 kB / 0.6917 GB, free: 7.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.1952, allocations: 71.98 kB / 0.6918 GB, free: 7.699 MB / 494.1 MB 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 (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.0002691/0.1955, allocations: 155.2 kB / 0.6919 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.1958, allocations: 167.9 kB / 0.6921 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1958, allocations: 0 / 0.6921 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1959, allocations: 47.95 kB / 0.6921 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1962, allocations: 21.42 kB / 0.6921 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.1968, allocations: 410.4 kB / 0.6925 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1971, allocations: 0.7355 MB / 0.6933 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.1972, allocations: 16.55 kB / 0.6933 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1972, allocations: 11.44 kB / 0.6933 GB, free: 6.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.894e-06/0.1972, allocations: 0 / 0.6933 GB, free: 6.09 MB / 494.1 MB Notification: Performance of Templates: time 0.004717/0.2019, allocations: 2.081 MB / 0.6953 GB, free: 4.012 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1)