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.001354/0.001354, allocations: 109.2 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.001779/0.001779, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.965 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.002561/0.002561, allocations: 302.2 kB / 312.7 MB, free: 2.785 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.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.002838/0.002838, allocations: 98.58 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1915, allocations: 95.39 MB / 0.8327 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002712/0.1942, allocations: 1.47 MB / 0.8342 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000712/0.1949, allocations: 369.3 kB / 0.8345 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.195, allocations: 0 / 0.8345 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.195, allocations: 0 / 0.8345 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.195, allocations: 3.938 kB / 0.8345 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.1955, allocations: 111.7 kB / 0.8346 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.1955, allocations: 19.92 kB / 0.8347 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.1956, allocations: 4 kB / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.1956, allocations: 11.97 kB / 0.8347 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.1957, allocations: 11.94 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1957, allocations: 4 kB / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.1959, allocations: 135.7 kB / 0.8348 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.196, allocations: 4 kB / 0.8348 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.196, allocations: 7.938 kB / 0.8348 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1962, allocations: 92.02 kB / 0.8349 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1962, allocations: 4 kB / 0.8349 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1962, allocations: 0 / 0.8349 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.567e-06/0.1962, allocations: 0 / 0.8349 GB, free: 6.352 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.0004854/0.1967, allocations: 274.2 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1968, allocations: 13.34 kB / 0.8352 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1968, allocations: 30.75 kB / 0.8352 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1968, allocations: 4.891 kB / 0.8352 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1969, allocations: 114.4 kB / 0.8353 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.197, allocations: 4.375 kB / 0.8353 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.197, allocations: 384 / 0.8353 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1971, allocations: 50.23 kB / 0.8354 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1972, allocations: 3.938 kB / 0.8354 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1972, allocations: 0 / 0.8354 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1972, allocations: 0 / 0.8354 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1973, allocations: 35.95 kB / 0.8354 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1976, allocations: 224 kB / 0.8356 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1978, allocations: 38.48 kB / 0.8357 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.1978, allocations: 20.91 kB / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.1985, allocations: 103.9 kB / 0.8358 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1985, allocations: 38.44 kB / 0.8358 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1985, allocations: 0 / 0.8358 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000352/0.1988, allocations: 89.58 kB / 0.8359 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1989, allocations: 51.41 kB / 0.836 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.1989, allocations: 97.84 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.199, allocations: 29.7 kB / 0.8361 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.199, allocations: 84.09 kB / 0.8362 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.199, allocations: 7.953 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.1991, allocations: 9.719 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1992, allocations: 319 kB / 0.8365 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.1993, allocations: 19.97 kB / 0.8365 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1994, allocations: 15.98 kB / 0.8365 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1995, allocations: 36.83 kB / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.1995, allocations: 3.938 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.1997, allocations: 73.66 kB / 0.8366 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1997, allocations: 4 kB / 0.8366 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1997, allocations: 0 / 0.8366 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1997, allocations: 0 / 0.8366 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.1998, allocations: 11.98 kB / 0.8366 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1998, allocations: 0 / 0.8366 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1999, allocations: 4 kB / 0.8367 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1999, allocations: 7.984 kB / 0.8367 GB, free: 4.371 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.867e-05/0.2, allocations: 118.5 kB / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2, allocations: 4 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.2002, allocations: 68.91 kB / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2002, allocations: 0 / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2002, allocations: 0 / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2002, allocations: 0 / 0.8368 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2004, allocations: 136.7 kB / 0.837 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2004, allocations: 4.031 kB / 0.837 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.2004, allocations: 8 kB / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2004, allocations: 0 / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2004, allocations: 0 / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2004, allocations: 4 kB / 0.837 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2004, allocations: 0 / 0.837 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.2007, allocations: 167.4 kB / 0.8371 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.2007, allocations: 7.922 kB / 0.8372 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2007, allocations: 0 / 0.8372 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.2008, allocations: 8 kB / 0.8372 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2008, allocations: 3.984 kB / 0.8372 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.2008, allocations: 0 / 0.8372 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.2008, allocations: 83.22 kB / 0.8372 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2008, allocations: 3.938 kB / 0.8372 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002587/0.2011, allocations: 27.94 kB / 0.8373 GB, free: 3.66 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.0007078/0.2018, allocations: 0.7358 MB / 0.838 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.202, allocations: 35.97 kB / 0.838 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.202, allocations: 0 / 0.838 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.2021, allocations: 19.92 kB / 0.838 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2023, allocations: 10.67 kB / 0.8381 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.2028, allocations: 143.2 kB / 0.8382 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.2032, allocations: 0.6768 MB / 0.8389 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.2032, allocations: 7.984 kB / 0.8389 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2032, allocations: 7.438 kB / 0.8389 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2032, allocations: 0 / 0.8389 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2332, allocations: 1.898 MB / 0.8407 GB, free: 172 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.92, allocations: 2.938 kB / 0.8407 GB, free: 172 kB / 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.228219394106418] Failed to read output from testmodel.py, exit status != 0: 11.022242052014917 11.038159025 10.838932457 Calling exit ...