Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.001576/0.001576, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001994/0.001994, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.777 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.002598/0.002598, allocations: 286 kB / 312.7 MB, free: 2.59 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.003033/0.003033, allocations: 105.7 kB / 0.7395 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1816, allocations: 95.37 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002881/0.1845, allocations: 1.611 MB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1856, allocations: 0.5674 MB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.1857, allocations: 0 / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1858, allocations: 11.86 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.1858, allocations: 19.81 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1861, allocations: 63.86 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1863, allocations: 79.77 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1864, allocations: 28.2 kB / 0.835 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1866, allocations: 47.83 kB / 0.835 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.457e-05/0.1867, allocations: 39.78 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1867, allocations: 8 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.1868, allocations: 19.98 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1868, allocations: 23.91 kB / 0.8351 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.1869, allocations: 35.8 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1871, allocations: 103.5 kB / 0.8352 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1871, allocations: 0 / 0.8352 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1871, allocations: 0 / 0.8352 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1871, allocations: 0 / 0.8352 GB, free: 5.633 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.0005759/0.1877, allocations: 337.8 kB / 0.8356 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1877, allocations: 9.938 kB / 0.8356 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.195e-05/0.1878, allocations: 38.75 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.1881, allocations: 40.86 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1883, allocations: 142.9 kB / 0.8358 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1884, allocations: 8.375 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1884, allocations: 11.88 kB / 0.8358 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.1886, allocations: 112.1 kB / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1887, allocations: 0 / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1887, allocations: 0 / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1887, allocations: 4 kB / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1889, allocations: 103.9 kB / 0.836 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.1895, allocations: 335.6 kB / 0.8363 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1897, allocations: 54.55 kB / 0.8364 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1898, allocations: 52.94 kB / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1898, allocations: 4 kB / 0.8364 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1898, allocations: 34.56 kB / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1898, allocations: 3.938 kB / 0.8365 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004777/0.1903, allocations: 169.4 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1904, allocations: 51.41 kB / 0.8367 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1905, allocations: 141 kB / 0.8368 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1905, allocations: 29.7 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1906, allocations: 108.2 kB / 0.8369 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1906, allocations: 15.86 kB / 0.837 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1907, allocations: 29.7 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1908, allocations: 322.8 kB / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1909, allocations: 35.97 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.191, allocations: 40.34 kB / 0.8374 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1913, allocations: 88.81 kB / 0.8374 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1913, allocations: 0 / 0.8374 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002905/0.1915, allocations: 141.4 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1916, allocations: 4.781 kB / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1916, allocations: 0 / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1916, allocations: 4 kB / 0.8376 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1917, allocations: 15.98 kB / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1917, allocations: 0 / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.1918, allocations: 7.984 kB / 0.8376 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.1918, allocations: 4 kB / 0.8376 GB, free: 2.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001106/0.1919, allocations: 126.5 kB / 0.8377 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.192, allocations: 19.84 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1923, allocations: 142.2 kB / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1923, allocations: 0 / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1923, allocations: 0 / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1923, allocations: 4 kB / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1926, allocations: 168.7 kB / 0.8381 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1926, allocations: 0 / 0.8381 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1927, allocations: 27.91 kB / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1927, allocations: 0 / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1927, allocations: 7.938 kB / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1927, allocations: 0 / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1927, allocations: 128 / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.193, allocations: 227.4 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.1931, allocations: 11.89 kB / 0.8383 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1931, allocations: 7.938 kB / 0.8383 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1932, allocations: 11.98 kB / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1932, allocations: 7.984 kB / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1932, allocations: 0 / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.57e-05/0.1933, allocations: 103.3 kB / 0.8384 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1933, allocations: 0 / 0.8384 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002519/0.1936, allocations: 23.95 kB / 0.8385 GB, free: 2.043 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 (6): * Single equations (assignments): 6 * 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.0007376/0.1943, allocations: 0.7669 MB / 0.8392 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1946, allocations: 95.94 kB / 0.8393 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1946, allocations: 0 / 0.8393 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1947, allocations: 51.91 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.195, allocations: 14 kB / 0.8394 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.1971, allocations: 1.626 MB / 0.841 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1972, allocations: 92.17 kB / 0.841 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.1973, allocations: 7.984 kB / 0.8411 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.1973, allocations: 31.42 kB / 0.8411 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.1973, allocations: 0 / 0.8411 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.2283, allocations: 2.63 MB / 0.8437 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 5.969 kB / 0.8437 GB, free: 12.75 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.793722547125071] Failed to read output from testmodel.py, exit status != 0: 11.518337867222726 11.544924534 11.35382167 Calling exit ...