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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",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.0009066/0.0009067, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0008883/0.0008882, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 274.8 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.843/0.843, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 93.3 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1827, allocations: 86.99 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001821/0.1846, allocations: 0.6652 MB / 0.6802 GB, free: 420 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1868, allocations: 1.476 MB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.1869, allocations: 0 / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.187, allocations: 0.875 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.187, allocations: 8.516 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.1876, allocations: 164.5 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.1877, allocations: 31.97 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1877, allocations: 0 / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.1878, allocations: 19.92 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.1878, allocations: 23.92 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1879, allocations: 0 / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.1882, allocations: 239.7 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1883, allocations: 7.984 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1883, allocations: 19.81 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1886, allocations: 211.6 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1886, allocations: 0 / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1886, allocations: 0 / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1886, allocations: 3.938 kB / 0.6823 GB, free: 14.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004587/0.1891, allocations: 406.8 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1892, allocations: 12.03 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1892, allocations: 30.75 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1892, allocations: 12.83 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1894, allocations: 172.2 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1894, allocations: 4.312 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1894, allocations: 4.375 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1896, allocations: 77.77 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1897, allocations: 0 / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1897, allocations: 0 / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1897, allocations: 4 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1898, allocations: 39.97 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.19, allocations: 161.7 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.19, allocations: 62.5 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1901, allocations: 52.86 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.1901, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1902, allocations: 42.5 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.1902, allocations: 0 / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003163/0.1905, allocations: 187.4 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1906, allocations: 85.09 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1907, allocations: 117.8 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1907, allocations: 25.7 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.1907, allocations: 84.14 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1908, allocations: 27.58 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1908, allocations: 21.66 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.191, allocations: 326.9 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.191, allocations: 31.98 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.1911, allocations: 36.52 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1912, allocations: 148.3 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1913, allocations: 0 / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001741/0.1914, allocations: 151.2 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.1915, allocations: 41.69 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1915, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1915, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1915, allocations: 4.062 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1915, allocations: 3.938 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1917, allocations: 11.89 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1917, allocations: 8 kB / 0.6846 GB, free: 11.59 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 (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 9.964e-05/0.1918, allocations: 144.8 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1918, allocations: 7.938 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.378e-05/0.1918, allocations: 8.375 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1918, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1919, allocations: 0 / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1919, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.192, allocations: 165.6 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.192, allocations: 0 / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-06/0.192, allocations: 3.938 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.192, allocations: 0 / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.192, allocations: 4 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.192, allocations: 0 / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.192, allocations: 0 / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1923, allocations: 202.7 kB / 0.6852 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.1923, allocations: 92.89 kB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1924, allocations: 3.984 kB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.1924, allocations: 8 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1924, allocations: 3.938 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1925, allocations: 4 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5e-05/0.1925, allocations: 95.27 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1925, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1928, allocations: 71.98 kB / 0.6854 GB, free: 10.68 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 (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.0008574/0.1937, allocations: 0.7859 MB / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.194, allocations: 203.2 kB / 0.6864 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.194, allocations: 0 / 0.6864 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1942, allocations: 159.3 kB / 0.6865 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1945, allocations: 9.625 kB / 0.6865 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.195, allocations: 232.4 kB / 0.6868 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1952, allocations: 0.6848 MB / 0.6874 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.1952, allocations: 0 / 0.6874 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.1953, allocations: 15.44 kB / 0.6874 GB, free: 8.477 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1953, allocations: 0 / 0.6874 GB, free: 8.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.2157, allocations: 2.93 MB / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.2159, allocations: 236.6 kB / 0.6905 GB, free: 5.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.897, allocations: 0 / 0.6905 GB, free: 5.434 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)