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.489/1.489, 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.001082/0.001082, allocations: 178 kB / 326.5 MB, free: 2.211 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.791/1.791, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0007899/0.0007899, allocations: 90.41 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003459, allocations: 10.03 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.368, allocations: 131.7 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3683, allocations: 67.97 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003667/0.372, allocations: 1.262 MB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/0.372, allocations: 7.875 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.372, allocations: 0 / 1.03 GB, free: 10.56 MB / 0.6823 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.0005083/0.3725, allocations: 387.7 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3726, allocations: 12.03 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.3727, allocations: 38.55 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.3727, allocations: 7.906 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3728, allocations: 175 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3728, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3729, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3732, allocations: 121.6 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3732, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3732, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.3732, allocations: 8 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3736, allocations: 131.9 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.3742, allocations: 388.3 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3745, allocations: 74.44 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.3747, allocations: 121.2 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3748, allocations: 34.56 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3748, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005564/0.3753, allocations: 169.5 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3754, allocations: 51.41 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3755, allocations: 136.1 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3755, allocations: 25.7 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.3756, allocations: 123.7 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.3756, allocations: 11.84 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.3757, allocations: 4 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3758, allocations: 318.8 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.376, allocations: 59.89 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.3762, allocations: 127.3 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3764, allocations: 76.56 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3764, allocations: 0 / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004345/0.3768, allocations: 201.4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3769, allocations: 11.95 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3769, allocations: 7.984 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3769, allocations: 4 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3771, allocations: 43.92 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3771, allocations: 7.984 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3772, allocations: 32.02 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3773, allocations: 4 kB / 1.033 GB, free: 7.43 MB / 0.6823 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 9.771e-05/0.3774, allocations: 125.8 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3774, allocations: 7.906 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.3778, allocations: 146 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3778, allocations: 7.969 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3778, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3778, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.378, allocations: 173.6 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.378, allocations: 0 / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.3781, allocations: 19.98 kB / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3781, allocations: 7.938 kB / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.3781, allocations: 8 kB / 1.033 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3781, allocations: 3.953 kB / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3782, allocations: 0 / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.3786, allocations: 219.4 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3786, allocations: 81.02 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3786, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3788, allocations: 27.97 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3788, allocations: 7.953 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3788, allocations: 4 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.3789, allocations: 107.2 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002496/0.3792, allocations: 16 kB / 1.034 GB, free: 6.383 MB / 0.6823 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.0006983/0.3799, allocations: 0.763 MB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3802, allocations: 132.4 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3803, allocations: 0 / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3804, allocations: 51.91 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3806, allocations: 14.28 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.3811, allocations: 206.8 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3814, allocations: 0.6965 MB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.3815, allocations: 24.41 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.3816, allocations: 23.42 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3816, allocations: 0 / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.3939, allocations: 1.838 MB / 1.037 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.3942, allocations: 183.2 kB / 1.038 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.946, allocations: 0 / 1.038 GB, free: 2.434 MB / 0.6823 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)