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.001402/0.001402, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001674/0.001674, allocations: 217 kB / 22.25 MB, free: 5.121 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.961 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.00367/0.00367, allocations: 288.4 kB / 312.7 MB, free: 2.777 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.003184/0.003184, allocations: 108.3 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1754, allocations: 95.37 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.003116/0.1786, allocations: 1.534 MB / 0.8342 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.1789, allocations: 120.5 kB / 0.8343 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.179, allocations: 0 / 0.8343 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.075e-05/0.179, allocations: 7.922 kB / 0.8344 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.1791, allocations: 11.88 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1793, allocations: 23.97 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1794, allocations: 43.84 kB / 0.8344 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.1795, allocations: 15.98 kB / 0.8344 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.1796, allocations: 19.92 kB / 0.8345 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.1796, allocations: 23.91 kB / 0.8345 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1796, allocations: 4 kB / 0.8345 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.1797, allocations: 35.97 kB / 0.8345 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1798, allocations: 15.92 kB / 0.8345 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1798, allocations: 23.81 kB / 0.8346 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.18, allocations: 75.92 kB / 0.8346 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.18, allocations: 4 kB / 0.8346 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.18, allocations: 0 / 0.8346 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.18, allocations: 0 / 0.8346 GB, free: 6.645 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.0005631/0.1806, allocations: 310 kB / 0.8349 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1806, allocations: 9.344 kB / 0.8349 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.1806, allocations: 38.75 kB / 0.835 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1807, allocations: 8.891 kB / 0.835 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1808, allocations: 114.5 kB / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1808, allocations: 384 / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1808, allocations: 8.375 kB / 0.8351 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1811, allocations: 106.2 kB / 0.8352 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1811, allocations: 7.875 kB / 0.8352 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1811, allocations: 7.938 kB / 0.8352 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.1812, allocations: 19.97 kB / 0.8352 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.1815, allocations: 115.8 kB / 0.8353 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.182, allocations: 323.7 kB / 0.8357 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1822, allocations: 54.53 kB / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1823, allocations: 40.86 kB / 0.8357 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.1826, allocations: 47.95 kB / 0.8358 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1826, allocations: 34.56 kB / 0.8358 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1826, allocations: 0 / 0.8358 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.1832, allocations: 137.5 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1832, allocations: 55.34 kB / 0.836 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1834, allocations: 143.2 kB / 0.8361 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1834, allocations: 29.7 kB / 0.8362 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.1835, allocations: 123.9 kB / 0.8363 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1835, allocations: 11.91 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1835, allocations: 25.72 kB / 0.8363 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1836, allocations: 322.8 kB / 0.8366 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1838, allocations: 47.89 kB / 0.8367 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.184, allocations: 113.4 kB / 0.8368 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1844, allocations: 173.2 kB / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1844, allocations: 0 / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004526/0.1848, allocations: 185.3 kB / 0.8371 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1849, allocations: 4 kB / 0.8371 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1849, allocations: 4 kB / 0.8371 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1849, allocations: 7.938 kB / 0.8371 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1851, allocations: 35.91 kB / 0.8372 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1851, allocations: 4 kB / 0.8372 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1852, allocations: 28.19 kB / 0.8372 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1852, allocations: 16 kB / 0.8372 GB, free: 3.727 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.0001082/0.1853, allocations: 122.4 kB / 0.8373 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.1853, allocations: 7.953 kB / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1857, allocations: 117.9 kB / 0.8375 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1857, allocations: 7.922 kB / 0.8375 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1857, allocations: 4 kB / 0.8375 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1857, allocations: 0 / 0.8375 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1859, allocations: 144.7 kB / 0.8376 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1859, allocations: 3.984 kB / 0.8376 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.186, allocations: 15.98 kB / 0.8376 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.186, allocations: 4 kB / 0.8376 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1861, allocations: 0 / 0.8376 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.1861, allocations: 3.938 kB / 0.8376 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1861, allocations: 0 / 0.8376 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1864, allocations: 203.6 kB / 0.8378 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.1864, allocations: 15.98 kB / 0.8379 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1865, allocations: 3.938 kB / 0.8379 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1866, allocations: 15.92 kB / 0.8379 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1866, allocations: 3.984 kB / 0.8379 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1866, allocations: 4 kB / 0.8379 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.1867, allocations: 109.8 kB / 0.838 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1867, allocations: 0 / 0.838 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002803/0.187, allocations: 19.94 kB / 0.838 GB, free: 2.852 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.0007473/0.1877, allocations: 0.7358 MB / 0.8387 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1881, allocations: 107.8 kB / 0.8388 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1881, allocations: 0 / 0.8388 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1883, allocations: 39.97 kB / 0.8389 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1886, allocations: 8.562 kB / 0.8389 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.1892, allocations: 201.3 kB / 0.8391 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1896, allocations: 0.6968 MB / 0.8397 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.1896, allocations: 24.41 kB / 0.8398 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.1897, allocations: 19.44 kB / 0.8398 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1897, allocations: 4 kB / 0.8398 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2195, allocations: 2.382 MB / 0.8421 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 5.969 kB / 0.8421 GB, free: 14.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.207971537020057] Failed to read output from testmodel.py, exit status != 0: 11.008555974112824 11.025803029 10.842498285 Calling exit ...