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.33/1.33, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009784/0.0009785, allocations: 168 kB / 327 MB, free: 2.102 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.557/1.557, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007378/0.0007378, allocations: 85.62 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002872, allocations: 16.88 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1713, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001339/0.1727, allocations: 1.215 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.1729, allocations: 128.5 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.173, allocations: 0 / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.173, allocations: 7.938 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.1731, allocations: 7.922 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.1733, allocations: 15.98 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.1733, allocations: 47.84 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.1734, allocations: 11.98 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.1735, allocations: 19.92 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1735, allocations: 15.92 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1736, allocations: 4 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.1736, allocations: 39.89 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.1737, allocations: 8 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1737, allocations: 49.5 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1738, allocations: 67.77 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1739, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1739, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1739, allocations: 0 / 0.9025 GB, free: 61.73 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.0004458/0.1743, allocations: 383.7 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1744, allocations: 8.031 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1744, allocations: 38.75 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.1744, allocations: 12.83 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.1745, allocations: 168.2 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1745, allocations: 12.31 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1746, allocations: 8.312 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1748, allocations: 114.2 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1748, allocations: 7.938 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1748, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.1749, allocations: 23.98 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1752, allocations: 135.9 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1756, allocations: 348.6 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1758, allocations: 78.41 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1759, allocations: 44.92 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.1761, allocations: 121.1 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.1761, allocations: 30.56 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1762, allocations: 0 / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005017/0.1767, allocations: 185.4 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.1767, allocations: 55.34 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.1768, allocations: 145.5 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.1768, allocations: 25.7 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.1768, allocations: 119.8 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.1769, allocations: 15.8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1769, allocations: 4 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.1769, allocations: 314.8 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1771, allocations: 59.94 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1773, allocations: 124.2 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1776, allocations: 197.2 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1776, allocations: 0 / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003721/0.178, allocations: 197.4 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.178, allocations: 6.188 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.178, allocations: 4 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.178, allocations: 7.938 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1782, allocations: 44.23 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1782, allocations: 7.984 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1783, allocations: 27.83 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1783, allocations: 8 kB / 0.9055 GB, free: 58.4 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 6.174e-05/0.1784, allocations: 125.8 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1784, allocations: 7.906 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.1788, allocations: 141.8 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1788, allocations: 3.938 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1788, allocations: 0 / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1788, allocations: 0 / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1789, allocations: 177.6 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1789, allocations: 4 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.179, allocations: 23.92 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.179, allocations: 0 / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.179, allocations: 3.938 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.179, allocations: 7.938 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.179, allocations: 3.984 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1794, allocations: 215.4 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.1794, allocations: 89.02 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1794, allocations: 0 / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1795, allocations: 27.91 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1796, allocations: 4 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1796, allocations: 0 / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.1796, allocations: 107.2 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1796, allocations: 4 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002286/0.1799, allocations: 16 kB / 0.9064 GB, free: 57.36 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.0005112/0.1804, allocations: 0.7595 MB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.1807, allocations: 131.8 kB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1808, allocations: 0.625 kB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1809, allocations: 48.06 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1812, allocations: 15.95 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.1816, allocations: 222.8 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.1817, allocations: 0.6887 MB / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.032e-05/0.1818, allocations: 28.41 kB / 0.9082 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.1819, allocations: 23.44 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.1819, allocations: 3.938 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1929, allocations: 1.855 MB / 0.9101 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.1931, allocations: 199.2 kB / 0.9102 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.74, allocations: 4 kB / 0.9102 GB, free: 53.36 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)