Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 215.1 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00232/0.00232, allocations: 291.5 kB / 312.7 MB, free: 2.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 109.8 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1963, allocations: 95.38 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002825/0.1991, allocations: 1.522 MB / 0.8342 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004053/0.1995, allocations: 124.5 kB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.1995, allocations: 0 / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.1996, allocations: 3.938 kB / 0.8343 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.1997, allocations: 11.92 kB / 0.8344 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1999, allocations: 27.97 kB / 0.8344 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2, allocations: 51.77 kB / 0.8344 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2001, allocations: 8 kB / 0.8344 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.2002, allocations: 11.98 kB / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.2002, allocations: 27.86 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2002, allocations: 7.938 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.2003, allocations: 39.95 kB / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.2004, allocations: 8 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.2004, allocations: 27.8 kB / 0.8346 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.2006, allocations: 79.86 kB / 0.8346 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2006, allocations: 0 / 0.8346 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2006, allocations: 4 kB / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2006, allocations: 0 / 0.8346 GB, free: 6.672 MB / 0.5762 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.0005892/0.2012, allocations: 306.1 kB / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2012, allocations: 13.28 kB / 0.8349 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.2013, allocations: 38.75 kB / 0.835 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.2013, allocations: 4.891 kB / 0.835 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2014, allocations: 114.5 kB / 0.8351 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2014, allocations: 4.375 kB / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2015, allocations: 8.359 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2018, allocations: 118.1 kB / 0.8352 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2018, allocations: 3.938 kB / 0.8352 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2018, allocations: 0 / 0.8352 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.2018, allocations: 8 kB / 0.8352 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2021, allocations: 130.7 kB / 0.8354 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.2026, allocations: 315.7 kB / 0.8357 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2028, allocations: 62.47 kB / 0.8357 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2029, allocations: 36.92 kB / 0.8357 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.2032, allocations: 43.95 kB / 0.8358 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2032, allocations: 38.56 kB / 0.8358 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2032, allocations: 0 / 0.8358 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005958/0.2038, allocations: 133.5 kB / 0.836 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.2038, allocations: 59.28 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.204, allocations: 148 kB / 0.8362 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.204, allocations: 25.7 kB / 0.8362 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.2041, allocations: 127.9 kB / 0.8363 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.2041, allocations: 15.89 kB / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2042, allocations: 25.72 kB / 0.8363 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2043, allocations: 322.8 kB / 0.8366 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2045, allocations: 43.95 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2047, allocations: 110.5 kB / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.205, allocations: 177.2 kB / 0.837 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.205, allocations: 0 / 0.837 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000421/0.2055, allocations: 181.3 kB / 0.8371 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2055, allocations: 8 kB / 0.8371 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2055, allocations: 4 kB / 0.8371 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2055, allocations: 7.875 kB / 0.8372 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2057, allocations: 43.84 kB / 0.8372 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2057, allocations: 4.312 kB / 0.8372 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2058, allocations: 23.88 kB / 0.8372 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2058, allocations: 8 kB / 0.8372 GB, free: 3.758 MB / 0.5762 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.0001036/0.2059, allocations: 130.4 kB / 0.8374 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2059, allocations: 7.953 kB / 0.8374 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.2063, allocations: 114.2 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2063, allocations: 7.969 kB / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2063, allocations: 0 / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2063, allocations: 0 / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2065, allocations: 148.7 kB / 0.8376 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2065, allocations: 4 kB / 0.8376 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.2066, allocations: 23.91 kB / 0.8376 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2066, allocations: 0 / 0.8376 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2066, allocations: 4 kB / 0.8377 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.2066, allocations: 3.938 kB / 0.8377 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2066, allocations: 0 / 0.8377 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.207, allocations: 199.4 kB / 0.8378 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.207, allocations: 3.953 kB / 0.8378 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.207, allocations: 7.984 kB / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2071, allocations: 11.92 kB / 0.8379 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2072, allocations: 4 kB / 0.8379 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2072, allocations: 8 kB / 0.8379 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.2072, allocations: 109.3 kB / 0.838 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2072, allocations: 0 / 0.838 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002666/0.2075, allocations: 23.94 kB / 0.838 GB, free: 2.879 MB / 0.5762 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.0007453/0.2083, allocations: 0.7319 MB / 0.8387 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.2086, allocations: 103.8 kB / 0.8388 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2086, allocations: 0 / 0.8388 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2088, allocations: 35.95 kB / 0.8389 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2091, allocations: 16.56 kB / 0.8389 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.2098, allocations: 197.3 kB / 0.8391 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2101, allocations: 0.6974 MB / 0.8397 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.259e-05/0.2102, allocations: 20.42 kB / 0.8398 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.2103, allocations: 35.42 kB / 0.8398 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 6.22e-07/0.2103, allocations: 0 / 0.8398 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.2403, allocations: 2.385 MB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.02, allocations: 6.094 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.394206220000342] Failed to read output from testmodel.py, exit status != 0: 11.115033426998707 11.131077522 10.927335998 Calling exit ...