Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 194.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 74.95 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002646/0.2458, allocations: 1.486 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.2461, allocations: 112.5 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.2462, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.2462, allocations: 3.938 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2463, allocations: 11.88 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2465, allocations: 31.95 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.2466, allocations: 43.84 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2467, allocations: 19.92 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.2468, allocations: 15.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.2468, allocations: 23.92 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2469, allocations: 4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.2469, allocations: 35.95 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.247, allocations: 11.94 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.247, allocations: 27.8 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2472, allocations: 76.05 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2472, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2472, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2472, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 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.000564/0.2478, allocations: 383.2 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2478, allocations: 12.03 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.2479, allocations: 42.67 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2479, allocations: 8.844 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.248, allocations: 172.2 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.248, allocations: 384 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2481, allocations: 12.36 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.2484, allocations: 110.2 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2484, allocations: 3.938 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2484, allocations: 4 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.2485, allocations: 19.88 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.2488, allocations: 115.9 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.2493, allocations: 340.7 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2496, allocations: 54.55 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2497, allocations: 40.91 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.25, allocations: 133.1 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2501, allocations: 30.56 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2501, allocations: 0 / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005483/0.2506, allocations: 137.5 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2507, allocations: 55.34 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2508, allocations: 144.5 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2508, allocations: 25.7 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.2509, allocations: 123.6 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.2509, allocations: 7.906 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.251, allocations: 33.61 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2511, allocations: 318.8 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2513, allocations: 47.94 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.2515, allocations: 113.3 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.2519, allocations: 169.2 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2519, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004461/0.2524, allocations: 189.5 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2524, allocations: 7.938 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2524, allocations: 4 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2525, allocations: 7.938 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2526, allocations: 35.91 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2526, allocations: 4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2528, allocations: 23.83 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.2528, allocations: 8 kB / 0.7883 GB, free: 8.129 MB / 0.6075 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 0.0001102/0.2529, allocations: 129.8 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2529, allocations: 7.984 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.2534, allocations: 118.1 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2534, allocations: 3.938 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2534, allocations: 3.984 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2534, allocations: 7.984 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2536, allocations: 185.5 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2536, allocations: 0 / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.2537, allocations: 11.98 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2537, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2537, allocations: 0 / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.2537, allocations: 7.922 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2538, allocations: 4 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.2541, allocations: 195.4 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.2542, allocations: 81.02 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2542, allocations: 4 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2543, allocations: 19.91 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2544, allocations: 4 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2544, allocations: 4 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.971e-05/0.2545, allocations: 107.2 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2545, allocations: 0 / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002643/0.2548, allocations: 20 kB / 0.7892 GB, free: 7.121 MB / 0.6075 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.0008038/0.2556, allocations: 0.7357 MB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.256, allocations: 104.5 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.256, allocations: 0 / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2562, allocations: 43.91 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2565, allocations: 14.58 kB / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.2571, allocations: 203.5 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2575, allocations: 0.6963 MB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.2576, allocations: 28.34 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.2576, allocations: 27.42 kB / 0.791 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2576, allocations: 0 / 0.791 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.2763, allocations: 2.149 MB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.568, allocations: 13.8 kB / 0.7931 GB, free: 3.094 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)