Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001222/0.001222, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 286.8 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 94.17 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1831, allocations: 86.99 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.003903/0.1871, allocations: 1.535 MB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.1875, allocations: 124.4 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.1875, allocations: 4 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.266e-05/0.1876, allocations: 0 / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.1877, allocations: 4.719 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.188, allocations: 28.59 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.1881, allocations: 43.86 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1882, allocations: 13.77 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.1883, allocations: 21.41 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.1884, allocations: 23.86 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1884, allocations: 4 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1885, allocations: 39.95 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1885, allocations: 12 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1886, allocations: 31.73 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1887, allocations: 75.7 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1888, allocations: 0 / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1888, allocations: 0 / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1888, allocations: 4 kB / 0.6816 GB, free: 15 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005528/0.1893, allocations: 375.3 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1894, allocations: 12.02 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.1894, allocations: 42.75 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1895, allocations: 4.844 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1896, allocations: 168.3 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1896, allocations: 384 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1896, allocations: 4.375 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1899, allocations: 118.1 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.19, allocations: 3.938 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.19, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.19, allocations: 12 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.1903, allocations: 123.9 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1908, allocations: 344.5 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.191, allocations: 62.47 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1912, allocations: 40.91 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.1914, allocations: 125 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1915, allocations: 34.55 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1915, allocations: 0 / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.192, allocations: 133.5 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.192, allocations: 59.28 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1922, allocations: 145.8 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1922, allocations: 25.7 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1923, allocations: 119.7 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1923, allocations: 11.84 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1923, allocations: 41.64 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.1924, allocations: 310.8 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1926, allocations: 51.94 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1928, allocations: 113.4 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1931, allocations: 161.2 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1931, allocations: 11.94 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003948/0.1935, allocations: 173.3 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1936, allocations: 10.03 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1936, allocations: 4 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1936, allocations: 7.938 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1938, allocations: 35.92 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1938, allocations: 7.969 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1939, allocations: 23.89 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1939, allocations: 8 kB / 0.6844 GB, free: 11.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 8.715e-05/0.194, allocations: 130.4 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1941, allocations: 15.89 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1944, allocations: 118.1 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1945, allocations: 3.938 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1945, allocations: 4 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1945, allocations: 0 / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1947, allocations: 173.6 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1947, allocations: 0 / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.1948, allocations: 19.92 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1948, allocations: 0 / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1948, allocations: 3.938 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1948, allocations: 3.938 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1948, allocations: 7.984 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1952, allocations: 195.4 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.1952, allocations: 85.02 kB / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1952, allocations: 0 / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1954, allocations: 19.91 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1954, allocations: 8 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1954, allocations: 4 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.1955, allocations: 107.2 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1955, allocations: 0 / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1958, allocations: 20 kB / 0.6853 GB, free: 10.8 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 (3): * Single equations (assignments): 3 * 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.0006646/0.1964, allocations: 0.7396 MB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1968, allocations: 108.4 kB / 0.6861 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1968, allocations: 4 kB / 0.6862 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.197, allocations: 31.97 kB / 0.6862 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1973, allocations: 24 kB / 0.6862 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1978, allocations: 223.7 kB / 0.6864 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1981, allocations: 0.6885 MB / 0.6871 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.1982, allocations: 24.41 kB / 0.6871 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1982, allocations: 31.42 kB / 0.6871 GB, free: 8.852 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1982, allocations: 0 / 0.6871 GB, free: 8.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6872/0.8854, allocations: 1.971 MB / 0.6891 GB, free: 6.996 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.8857, allocations: 198.2 kB / 0.6893 GB, free: 6.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.72, allocations: 4.062 kB / 0.6893 GB, free: 6.738 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)