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.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001026/0.001026, allocations: 186.7 kB / 326.5 MB, free: 2.23 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.715/1.715, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008201/0.0008201, allocations: 97.84 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8.969 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001387/0.2245, allocations: 1.199 MB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002386/0.2248, allocations: 124.5 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2248, allocations: 0 / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.2249, allocations: 0 / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.2249, allocations: 11.98 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2251, allocations: 19.97 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.2252, allocations: 23.91 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.2253, allocations: 16 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.2253, allocations: 11.98 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.2254, allocations: 27.89 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2254, allocations: 7.875 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.2255, allocations: 27.97 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.2255, allocations: 11.98 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.2255, allocations: 37.64 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.2256, allocations: 43.92 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2256, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2256, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2257, allocations: 0 / 0.9017 GB, free: 62.24 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.0004342/0.2261, allocations: 379.5 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2261, allocations: 12.03 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.2262, allocations: 34.56 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.2262, allocations: 7.906 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.2263, allocations: 179 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2263, allocations: 3.938 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.2263, allocations: 3.984 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2266, allocations: 121.6 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2267, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2267, allocations: 4 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.2267, allocations: 8 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.227, allocations: 143.9 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2274, allocations: 352.5 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2276, allocations: 66.48 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.2278, allocations: 125.1 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2279, allocations: 34.56 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2279, allocations: 0 / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005038/0.2284, allocations: 165.5 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2284, allocations: 59.34 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.2285, allocations: 140.4 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2285, allocations: 37.69 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2286, allocations: 127.7 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.2286, allocations: 7.906 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.2286, allocations: 3.938 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.2287, allocations: 322.8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2288, allocations: 63.89 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.229, allocations: 121.4 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2292, allocations: 71.89 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2292, allocations: 0 / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003808/0.2296, allocations: 201.5 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2296, allocations: 16.02 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2296, allocations: 4 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2296, allocations: 4 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.2298, allocations: 39.91 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2298, allocations: 4 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2299, allocations: 32.06 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2299, allocations: 12 kB / 0.9044 GB, free: 59.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.23, allocations: 125.8 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.23, allocations: 3.906 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.2304, allocations: 145.7 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2304, allocations: 8 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2304, allocations: 0 / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2304, allocations: 3.984 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2306, allocations: 173.7 kB / 0.9049 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2306, allocations: 0 / 0.9049 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.2307, allocations: 27.97 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2307, allocations: 0 / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.2307, allocations: 0 / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2307, allocations: 7.953 kB / 0.9049 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2307, allocations: 0 / 0.9049 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.231, allocations: 223.4 kB / 0.9051 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.2311, allocations: 85.02 kB / 0.9052 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2311, allocations: 0 / 0.9052 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2312, allocations: 15.98 kB / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.2312, allocations: 11.94 kB / 0.9052 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2313, allocations: 4 kB / 0.9052 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.2313, allocations: 111.1 kB / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2313, allocations: 0 / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002548/0.2316, allocations: 20 kB / 0.9054 GB, free: 58.07 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 (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.0005222/0.2321, allocations: 0.7514 MB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.2325, allocations: 128.4 kB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2325, allocations: 0 / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2326, allocations: 47.95 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2328, allocations: 25.86 kB / 0.9063 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.2333, allocations: 206.8 kB / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.2334, allocations: 0.6926 MB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.204e-05/0.2335, allocations: 36.34 kB / 0.9072 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.2336, allocations: 19.44 kB / 0.9072 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2336, allocations: 0 / 0.9072 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.2443, allocations: 1.83 MB / 0.909 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/0.2445, allocations: 176.9 kB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.826, allocations: 0 / 0.9092 GB, free: 54.14 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)