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.001724/0.001724, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.002342/0.002342, allocations: 222.1 kB / 23.05 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.00249/0.00249, allocations: 284.4 kB / 313.5 MB, free: 2.832 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.335/1.335, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="cs",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.002836/0.002836, allocations: 101.1 kB / 0.7404 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1762, allocations: 95.38 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002635/0.1788, allocations: 1.53 MB / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.1791, allocations: 120.5 kB / 0.8351 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.1792, allocations: 0 / 0.8351 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.1792, allocations: 3.938 kB / 0.8351 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.1793, allocations: 11.94 kB / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1795, allocations: 35.89 kB / 0.8352 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.1796, allocations: 43.84 kB / 0.8352 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.1796, allocations: 11.98 kB / 0.8352 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.1797, allocations: 15.98 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.1797, allocations: 23.86 kB / 0.8353 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1798, allocations: 4 kB / 0.8353 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.1798, allocations: 35.95 kB / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.1799, allocations: 12 kB / 0.8353 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1799, allocations: 31.8 kB / 0.8353 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1801, allocations: 79.88 kB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1801, allocations: 0 / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1801, allocations: 0 / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1801, allocations: 0 / 0.8354 GB, free: 6.688 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.0005143/0.1806, allocations: 302.1 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1806, allocations: 13.34 kB / 0.8357 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.1806, allocations: 8.125 kB / 0.8357 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1807, allocations: 38.73 kB / 0.8358 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.1807, allocations: 8.891 kB / 0.8358 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1808, allocations: 110.5 kB / 0.8359 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1808, allocations: 4.312 kB / 0.8359 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1808, allocations: 4.375 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1811, allocations: 115.8 kB / 0.836 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1811, allocations: 3.984 kB / 0.836 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1811, allocations: 4 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.1812, allocations: 8 kB / 0.836 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.1815, allocations: 123.9 kB / 0.8361 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.182, allocations: 315.7 kB / 0.8364 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1822, allocations: 66.42 kB / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1824, allocations: 36.91 kB / 0.8365 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.1826, allocations: 47.95 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1827, allocations: 30.56 kB / 0.8366 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1827, allocations: 0 / 0.8366 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005835/0.1833, allocations: 141.6 kB / 0.8367 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1833, allocations: 55.41 kB / 0.8368 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1834, allocations: 143.5 kB / 0.8369 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.1834, allocations: 29.7 kB / 0.8369 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.1835, allocations: 119.9 kB / 0.8371 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1835, allocations: 11.91 kB / 0.8371 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1836, allocations: 37.7 kB / 0.8371 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1838, allocations: 314.8 kB / 0.8374 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1839, allocations: 47.94 kB / 0.8375 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1842, allocations: 115 kB / 0.8376 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.1845, allocations: 177.2 kB / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1846, allocations: 4 kB / 0.8377 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004447/0.185, allocations: 173.3 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.185, allocations: 8.312 kB / 0.8379 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.185, allocations: 4 kB / 0.8379 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.1851, allocations: 11.88 kB / 0.8379 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1852, allocations: 47.91 kB / 0.838 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1852, allocations: 0 / 0.838 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1854, allocations: 23.88 kB / 0.838 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1854, allocations: 8 kB / 0.838 GB, free: 3.773 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.0001018/0.1855, allocations: 126.4 kB / 0.8381 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1855, allocations: 15.94 kB / 0.8381 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.1859, allocations: 113.9 kB / 0.8382 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1859, allocations: 0 / 0.8382 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1859, allocations: 7.938 kB / 0.8383 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1859, allocations: 0 / 0.8383 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1861, allocations: 152.7 kB / 0.8384 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1861, allocations: 0 / 0.8384 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.1862, allocations: 15.98 kB / 0.8384 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1862, allocations: 0 / 0.8384 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1862, allocations: 7.938 kB / 0.8384 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1862, allocations: 3.984 kB / 0.8384 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1862, allocations: 0 / 0.8384 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.1866, allocations: 195.4 kB / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.1866, allocations: 7.953 kB / 0.8386 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1866, allocations: 3.938 kB / 0.8386 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1867, allocations: 15.97 kB / 0.8386 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1868, allocations: 11.94 kB / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1868, allocations: 0 / 0.8386 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.1869, allocations: 113.8 kB / 0.8388 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1869, allocations: 3.938 kB / 0.8388 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003022/0.1872, allocations: 19.94 kB / 0.8388 GB, free: 2.891 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.000781/0.188, allocations: 0.728 MB / 0.8395 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.1883, allocations: 108.3 kB / 0.8396 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1884, allocations: 4 kB / 0.8396 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1885, allocations: 36.23 kB / 0.8396 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1889, allocations: 8 kB / 0.8396 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.1894, allocations: 197.3 kB / 0.8398 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1898, allocations: 0.6935 MB / 0.8405 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1898, allocations: 32.5 kB / 0.8405 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1899, allocations: 35.34 kB / 0.8406 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1899, allocations: 0 / 0.8406 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2131, allocations: 2.401 MB / 0.8429 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.23, allocations: 9.547 kB / 0.8429 GB, free: 14.7 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.697725982987322] Failed to read output from testmodel.py, exit status != 0: 11.389017456036527 11.408434218 11.223527492 Calling exit ...