Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.467/1.467, allocations: 288.4 MB / 303.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009038/0.0009039, allocations: 183.2 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007491/0.0007492, allocations: 94.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 20.52 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001539/0.2054, allocations: 1.187 MB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.2057, allocations: 120.5 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.2057, allocations: 4 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.2058, allocations: 7.922 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.2058, allocations: 3.938 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.2061, allocations: 23.97 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.2061, allocations: 39.84 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2063, allocations: 16 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.2063, allocations: 11.92 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.2064, allocations: 23.91 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2064, allocations: 4 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.2065, allocations: 35.97 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.2065, allocations: 11.98 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2066, allocations: 41.58 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2067, allocations: 48.12 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2067, allocations: 4 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2067, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2067, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 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.0004668/0.2072, allocations: 387.2 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2072, allocations: 8.031 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2073, allocations: 46.73 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.2073, allocations: 8.844 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.2074, allocations: 164.3 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2074, allocations: 4.375 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2074, allocations: 384 / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2077, allocations: 130.1 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2078, allocations: 11.88 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2078, allocations: 0 / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.2078, allocations: 12 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.2082, allocations: 139.9 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.2086, allocations: 340.6 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2088, allocations: 78.47 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.209, allocations: 48.92 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.2092, allocations: 117.1 kB / 0.9832 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2092, allocations: 34.5 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.2092, allocations: 0 / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005218/0.2098, allocations: 173.5 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2098, allocations: 55.34 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.2099, allocations: 151.2 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2099, allocations: 25.7 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.21, allocations: 123.6 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.21, allocations: 11.84 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.21, allocations: 4 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.2101, allocations: 318.8 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2103, allocations: 55.95 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.2104, allocations: 125.3 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2108, allocations: 193.4 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2108, allocations: 4 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000401/0.2112, allocations: 201.2 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2112, allocations: 4.312 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2112, allocations: 8 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2113, allocations: 7.938 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2114, allocations: 39.91 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2114, allocations: 4 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2115, allocations: 31.83 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2116, allocations: 12 kB / 0.9847 GB, free: 22.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.2116, allocations: 133.7 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2117, allocations: 7.906 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.2121, allocations: 137.9 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2121, allocations: 3.938 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2121, allocations: 4 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2121, allocations: 0 / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2122, allocations: 173.6 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2122, allocations: 0 / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.2123, allocations: 19.98 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2123, allocations: 3.984 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2123, allocations: 0 / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2124, allocations: 19.81 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2124, allocations: 3.938 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.2127, allocations: 219.4 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.2128, allocations: 85.02 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2128, allocations: 3.984 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.2129, allocations: 19.92 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2129, allocations: 8 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.213, allocations: 4 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.213, allocations: 109.8 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.213, allocations: 0 / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002417/0.2133, allocations: 20 kB / 0.9856 GB, free: 21.27 MB / 0.6198 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 (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.0005101/0.2138, allocations: 0.7592 MB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.2141, allocations: 132.4 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2141, allocations: 0 / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2143, allocations: 47.95 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2146, allocations: 14.33 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.2151, allocations: 210.8 kB / 0.9867 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2152, allocations: 0.6926 MB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.803e-05/0.2153, allocations: 32.41 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.2153, allocations: 23.42 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2153, allocations: 0 / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4797/0.6951, allocations: 1.838 MB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.6953, allocations: 185.3 kB / 0.9894 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.764, allocations: 7.875 kB / 0.9894 GB, free: 17.33 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)