Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.001538/0.001538, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002191/0.002191, allocations: 222.3 kB / 23.03 MB, free: 4.945 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002509/0.002509, allocations: 294.8 kB / 313.5 MB, free: 2.621 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.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 14.63 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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.00276/0.00276, allocations: 95.2 kB / 0.7403 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1845, allocations: 95.38 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002882/0.1874, allocations: 1.456 MB / 0.8348 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007613/0.1881, allocations: 333.5 kB / 0.8351 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.1882, allocations: 4 kB / 0.8352 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.1882, allocations: 3.938 kB / 0.8352 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.1883, allocations: 7.922 kB / 0.8352 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1887, allocations: 103.7 kB / 0.8353 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.1888, allocations: 23.92 kB / 0.8353 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.1889, allocations: 4 kB / 0.8353 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.1889, allocations: 7.938 kB / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1889, allocations: 11.98 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.189, allocations: 4 kB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1892, allocations: 131.8 kB / 0.8354 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1892, allocations: 3.938 kB / 0.8354 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1892, allocations: 4 kB / 0.8354 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1894, allocations: 95.95 kB / 0.8355 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1894, allocations: 0 / 0.8355 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1894, allocations: 0 / 0.8355 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1894, allocations: 0 / 0.8355 GB, free: 6.141 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004855/0.1899, allocations: 278.2 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.19, allocations: 9.344 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.314e-05/0.19, allocations: 8.188 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.19, allocations: 30.75 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.1901, allocations: 4.891 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1902, allocations: 118.5 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1902, allocations: 384 / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1902, allocations: 4.375 kB / 0.836 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1904, allocations: 53.92 kB / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1904, allocations: 0 / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1904, allocations: 4 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1904, allocations: 4 kB / 0.836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1906, allocations: 35.91 kB / 0.8361 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.1909, allocations: 216 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.191, allocations: 38.5 kB / 0.8363 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.1911, allocations: 20.91 kB / 0.8363 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.1918, allocations: 95.89 kB / 0.8364 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1918, allocations: 34.56 kB / 0.8364 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1918, allocations: 0 / 0.8364 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.1921, allocations: 85.67 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1922, allocations: 55.41 kB / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.1923, allocations: 101.8 kB / 0.8367 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1923, allocations: 25.7 kB / 0.8367 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1923, allocations: 84.09 kB / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1923, allocations: 11.89 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1924, allocations: 17.7 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1925, allocations: 314.8 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.1926, allocations: 11.98 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.1927, allocations: 20.02 kB / 0.8371 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1928, allocations: 44.75 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1928, allocations: 0 / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.193, allocations: 65.66 kB / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.193, allocations: 4 kB / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.193, allocations: 4.094 kB / 0.8373 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.193, allocations: 0 / 0.8373 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1931, allocations: 15.94 kB / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1931, allocations: 3.984 kB / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.1932, allocations: 7.984 kB / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.1932, allocations: 0 / 0.8373 GB, free: 4.152 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 (2): * Single equations (assignments): 2 * 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 8.666e-05/0.1933, allocations: 114.4 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.1933, allocations: 4 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.1935, allocations: 76.95 kB / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1935, allocations: 0 / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1935, allocations: 4 kB / 0.8375 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1935, allocations: 0 / 0.8375 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1937, allocations: 120.7 kB / 0.8376 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1937, allocations: 3.984 kB / 0.8376 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.1937, allocations: 8 kB / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1937, allocations: 7.938 kB / 0.8376 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1937, allocations: 0 / 0.8376 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1938, allocations: 3.938 kB / 0.8376 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1938, allocations: 4.031 kB / 0.8376 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.194, allocations: 163.4 kB / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.194, allocations: 3.984 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.194, allocations: 4 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1941, allocations: 8 kB / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1941, allocations: 3.984 kB / 0.8378 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1941, allocations: 0 / 0.8378 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.1942, allocations: 79.28 kB / 0.8379 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1942, allocations: 4.031 kB / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000253/0.1944, allocations: 27.94 kB / 0.8379 GB, free: 3.445 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 (2): * Single equations (assignments): 2 * 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.0006703/0.1951, allocations: 0.7395 MB / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1953, allocations: 35.97 kB / 0.8387 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1953, allocations: 0 / 0.8387 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.1954, allocations: 15.98 kB / 0.8387 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1956, allocations: 3.984 kB / 0.8387 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.196, allocations: 159.2 kB / 0.8388 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.1961, allocations: 59.34 kB / 0.8389 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.1961, allocations: 0 / 0.8389 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1961, allocations: 11.44 kB / 0.8389 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1961, allocations: 0 / 0.8389 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2195, allocations: 1.978 MB / 0.8408 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.19, allocations: 6.328 kB / 0.8408 GB, free: 0.5117 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.671527141006663] Failed to read output from testmodel.py, exit status != 0: 11.357775214943103 11.381809046 11.188173632 Calling exit ...