Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007193/0.007193, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001642/0.001642, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 283 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9444/0.9444, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 99.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1881, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001909/0.1901, allocations: 0.6203 MB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.192, allocations: 1.431 MB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.1921, allocations: 4 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.1921, allocations: 3.938 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.1922, allocations: 3.938 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.193, allocations: 211.5 kB / 0.7687 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.1931, allocations: 35.97 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1931, allocations: 8 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.1932, allocations: 11.98 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.1932, allocations: 23.91 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1932, allocations: 3.984 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.1937, allocations: 247.7 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.1938, allocations: 7.922 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.1938, allocations: 19.92 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1941, allocations: 223.5 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1941, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1941, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1941, allocations: 0 / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004763/0.1946, allocations: 401 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1947, allocations: 8.031 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1947, allocations: 4.938 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1948, allocations: 176.2 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1949, allocations: 384 / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1949, allocations: 8.375 kB / 0.7698 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.195, allocations: 77.91 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1951, allocations: 0 / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1951, allocations: 0 / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1951, allocations: 4 kB / 0.7699 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.1951, allocations: 35.97 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1953, allocations: 157.7 kB / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.1954, allocations: 58.55 kB / 0.7701 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.1955, allocations: 57.02 kB / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.1955, allocations: 3.938 kB / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1956, allocations: 38.44 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1956, allocations: 0 / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000312/0.1959, allocations: 191.2 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1959, allocations: 85.11 kB / 0.7705 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.196, allocations: 113.8 kB / 0.7706 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1961, allocations: 25.7 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.1961, allocations: 92.17 kB / 0.7707 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1962, allocations: 19.66 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1962, allocations: 21.7 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1963, allocations: 314.8 kB / 0.771 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.1964, allocations: 35.97 kB / 0.771 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.1965, allocations: 43.84 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1966, allocations: 140.2 kB / 0.7712 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1966, allocations: 0 / 0.7712 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.1969, allocations: 159.9 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.197, allocations: 43.5 kB / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.197, allocations: 0 / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.197, allocations: 0 / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.197, allocations: 0 / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.197, allocations: 3.984 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1971, allocations: 8 kB / 0.7714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1972, allocations: 4 kB / 0.7714 GB, free: 3 MB / 0.5606 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000106/0.1973, allocations: 152.2 kB / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1973, allocations: 15.88 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.1973, allocations: 12.31 kB / 0.7716 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1973, allocations: 0 / 0.7716 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1973, allocations: 0 / 0.7716 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1973, allocations: 3.984 kB / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1975, allocations: 169.6 kB / 0.7718 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1975, allocations: 0 / 0.7718 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-06/0.1975, allocations: 4 kB / 0.7718 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1975, allocations: 3.938 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1975, allocations: 4 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1975, allocations: 0 / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1975, allocations: 4 kB / 0.7718 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1978, allocations: 199.2 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.1978, allocations: 88.89 kB / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1979, allocations: 4 kB / 0.7721 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.1979, allocations: 7.984 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1979, allocations: 4 kB / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1979, allocations: 8 kB / 0.7721 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.198, allocations: 95.3 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.523e-06/0.198, allocations: 0 / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003072/0.1983, allocations: 75.92 kB / 0.7722 GB, free: 2.059 MB / 0.5606 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003504/0.1987, allocations: 155.2 kB / 0.7724 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.199, allocations: 203.3 kB / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.199, allocations: 0 / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1992, allocations: 151.3 kB / 0.7727 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1993, allocations: 4.125 kB / 0.7727 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.1998, allocations: 161 kB / 0.7729 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.2001, allocations: 0.6885 MB / 0.7736 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.2001, allocations: 0 / 0.7736 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.2002, allocations: 11.38 kB / 0.7736 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2002, allocations: 0 / 0.7736 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of Templates: time 0.3164/0.5166, allocations: 2.03 MB / 0.7756 GB, free: 14.6 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)