Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 171.5 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205 MB / 0.576 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007471/0.0007471, allocations: 100 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 9.219 kB / 0.7932 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 105.4 MB / 0.8962 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001255/0.1803, allocations: 1.23 MB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000265/0.1805, allocations: 121.4 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1806, allocations: 4 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.1806, allocations: 11.92 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.1807, allocations: 7.922 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1808, allocations: 19.97 kB / 0.8976 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.1809, allocations: 39.92 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.986e-05/0.1809, allocations: 11.98 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.181, allocations: 15.94 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.397e-05/0.181, allocations: 23.91 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.181, allocations: 11.88 kB / 0.8977 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1811, allocations: 35.91 kB / 0.8977 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.1812, allocations: 11.98 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.1812, allocations: 19.81 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.1813, allocations: 71.75 kB / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1813, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1813, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.1813, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB 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.0003551/0.1817, allocations: 379.4 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1817, allocations: 8.031 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.227e-05/0.1817, allocations: 42.73 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.1818, allocations: 8.844 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.1818, allocations: 172.2 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1818, allocations: 4.375 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1819, allocations: 12.31 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1821, allocations: 118.2 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.1821, allocations: 7.938 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1821, allocations: 0 / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1821, allocations: 12 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.1824, allocations: 146.1 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.1827, allocations: 340.6 kB / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1829, allocations: 74.47 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1831, allocations: 44.92 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.1833, allocations: 121.1 kB / 0.8992 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-06/0.1833, allocations: 30.56 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1833, allocations: 0 / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004715/0.1838, allocations: 181.4 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.1838, allocations: 55.34 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.1839, allocations: 149.5 kB / 0.8996 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.1839, allocations: 29.64 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1839, allocations: 115.8 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.1839, allocations: 15.75 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.184, allocations: 13.72 kB / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.184, allocations: 322.8 kB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1842, allocations: 59.95 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1843, allocations: 121.4 kB / 0.9003 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.1846, allocations: 193.2 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1847, allocations: 4 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003579/0.185, allocations: 193.4 kB / 0.9006 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.185, allocations: 8 kB / 0.9006 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1851, allocations: 4 kB / 0.9006 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1851, allocations: 8.172 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1852, allocations: 52.16 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1852, allocations: 4 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1853, allocations: 23.89 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1854, allocations: 15.98 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB 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 5.201e-05/0.1854, allocations: 121.7 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1854, allocations: 11.89 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.1858, allocations: 141.8 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1858, allocations: 3.938 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1858, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1858, allocations: 4 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.1859, allocations: 181.6 kB / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1859, allocations: 3.938 kB / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.186, allocations: 23.98 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.186, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.186, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.186, allocations: 3.938 kB / 0.9012 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1861, allocations: 0 / 0.9012 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1864, allocations: 223.4 kB / 0.9014 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.1864, allocations: 85.02 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1864, allocations: 4 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1865, allocations: 23.86 kB / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1866, allocations: 3.984 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1866, allocations: 4 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.1866, allocations: 105.9 kB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1866, allocations: 0 / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002334/0.1869, allocations: 23.98 kB / 0.9017 GB, free: 62.11 MB / 0.6042 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 (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.0004791/0.1873, allocations: 0.7592 MB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.1877, allocations: 123.8 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1877, allocations: 0 / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1878, allocations: 48.59 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1881, allocations: 11.94 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1885, allocations: 220.4 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.1887, allocations: 0.6887 MB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.875e-05/0.1888, allocations: 24.41 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.1888, allocations: 23.44 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1888, allocations: 7.938 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.1998, allocations: 1.863 MB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.1999, allocations: 198.7 kB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.679, allocations: 0 / 0.9055 GB, free: 58.13 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)